ivesdebruycker / node-red-contrib-maxcube

A node-red node to control the eQ-3 Max! Cube
Other
13 stars 12 forks source link

Error: Cannot find module '/usr/lib/node_modules/node-red-contrib-maxcube/sample/sample.js #5

Closed asantaga closed 7 years ago

asantaga commented 7 years ago

All getting this error when installing node-red-contrib-maxcube with node-red this is stopping the package from installing and being usable alas

ecsfang commented 7 years ago

By some reason the file package.json contains the line "sample: sample/sample.js" Replace that line with "maxcube: maxcube.js" and it will work. Also, you need the package maxcube installed:

npm install maxcube

(I have not yet connected any devices, but at least the node appears in node-red and can be used)