Trying to install new Node locally....

28 views
Skip to first unread message

Josh Conway

unread,
Sep 28, 2016, 9:45:07 PM9/28/16
to Node-RED
Greetings all,

I'm working on a node that I'm trying to debug (and eventually release). I went through the procedure to install the node as listed (http://nodered.org/docs/creating-nodes/packaging).

I restart Node-red, and I get the error:

28 Sep 21:15:31 - [warn] [exchangeNode] Error: /home/josh/node_modules/node-red-contrib-exchange/exchange/exchange.js does not exist
28 Sep 21:15:31 - [warn] ------------------------------------------------------
28 Sep 21:15:31 - [warn] Missing node modules:
28 Sep 21:15:31 - [warn]  - node-red-contrib-exchange:
28 Sep 21:15:31 - [info] Removing modules from config


If I try "cat /home/josh/node_modules/node-red-contrib-exchange/exchange/exchange.js", I get the file. The rest of the directory and file structure is also there and working. It's also read/write for user/group and read for all.

Any ideas what might be going on, and how I can test this further?

-Josh

Julian Knight

unread,
Sep 29, 2016, 1:50:05 AM9/29/16
to Node-RED
When you are running NR, what does it report as the home folder?

I would have expected your js location to be:

/home/josh/.nodered/node_modules/node-red-contrib-exchange/exchange/exchange.js
Reply all
Reply to author
Forward
0 new messages