There is no .node-red directory in the /home/debian directory, does that mean bone-debian was setup with a global node-red install? There is a /root/.node-red directory but its node_modules directory is empty.
root@bbWhite:/usr/local/lib/node_modules# ls -l
total 28
drwxr-sr-x 5 debian debian 4096 Jun 6 2017 async
drwxr-sr-x 8 debian debian 4096 Apr 7 2017 bonescript
drwxr-sr-x 9 debian debian 4096 Aug 16 15:45 node-red
drwxr-sr-x 4 debian debian 4096 Aug 16 15:54 node-red-node-beaglebone
drwxr-sr-x 4 debian debian 4096 Aug 16 15:55 node-red-node-mongodb
drwxr-sr-x 4 debian debian 4096 Jun 6 2017 sensortag
drwxr-sr-x 5 nobody ssh 4096 Oct 10 07:04 winston
in /usr/local/lib/node_modules/node-red-node-beaglebone/package.json there is:
Then what do I do?
The README.md in the github link says:
After adding this line, you should run npm install
command from that project directory to install OBS. Another method is to directly cd
to project directory and run npm install octalbonescript
command.
Is the project directory the one with the package.json file? Maybe I'm dense, but I've found bone-debian to be rather fragile in the past.
If you tell me exactly what to do I'll do it and I'll get back to you as to if it worked or not.