NoFlo Error: TypeError: Object # has no meth

2019-09-15 05:41发布

问题:

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();

回答1:

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.