hotNipi / node-red-contrib-ui-level

A linear level type widget to the Node-RED dashboard
MIT License
27 stars 6 forks source link

Error: Cannot find module 'node-red-dashboard' #7

Closed pkjq closed 5 years ago

pkjq commented 5 years ago

Describe the bug

node-red[1452]: { Error: Cannot find module 'node-red-dashboard' node-red[1452]: at Object.requireModule [as require] (/usr/local/lib/node_modules/node-red/node_modules/@node-red/registry/lib/util.js:48:19) node-red[1452]: at new LevelNode (/var/smarthouse/nodered/.node-red/node_modules/node-red-contrib-ui-level/ui-level.js:176:14) node-red[1452]: at Object.createNode (/usr/local/lib/node_modules/node-red/node_modules/@node-red/runtime/lib/nodes/flows/util.js:483:31) node-red[1452]: at Flow.start (/usr/local/lib/node_modules/node-red/node_modules/@node-red/runtime/lib/nodes/flows/Flow.js:176:44) node-red[1452]: at start (/usr/local/lib/node_modules/node-red/node_modules/@node-red/runtime/lib/nodes/flows/index.js:329:33) node-red[1452]: at stop.then.then (/usr/local/lib/node_modules/node-red/node_modules/@node-red/runtime/lib/nodes/flows/index.js:196:21) node-red[1452]: at processTicksAndRejections (internal/process/task_queues.js:86:5) code: 'MODULE_NOT_FOUND' }

To Reproduce Clear setup node-red. Then install node-red-dashboard and node-red-contrib-ui-level from node-red interface. Run with option -u:

ExecStart=/usr/local/bin/node-red -u /var/smarthouse/nodered/.node-red

Desktop (please complete the following information):

hotNipi commented 5 years ago

Node can not know where it is installed and if it can be reached. It might be mistake on installation or wrong usage of --userDIR flag but being not so familiar with linux environments I can't give strong advise. You should rise topic in https://discourse.nodered.org to get help on this issue.

Meanwhile I leave this issue open until I see it is sorted out

hotNipi commented 5 years ago

Closing as no activity and no issue at node level.