Search code examples
javascriptnode.jsnoflo

NoFlo Error: TypeError: Object #<Port/ArrayPort> has no method 'isAddressable'


I recently started getting the errors:

TypeError: Object #<Port> has no method 'isAddressable'

TypeError: Object #<ArrayPort> has no method 'isAddressable'

I am creating the ports on my components like:

this.inPorts.in = new noflo.Port();

Solution

  • It looks like you have NoFlo 0.4 or older somewhere in the mix.

    the isAddressable method was added in 0.5.

    Look at npm list to see what packages you have installed an older, incompatible version of NoFlo.