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

有些话、适合烂在心里 提交于 2019-12-12 04:56:10

问题


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.



来源:https://stackoverflow.com/questions/24295978/noflo-error-typeerror-object-port-arrayport-has-no-method-isaddressable

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!