node problem with Mint
Dave Stevens
geek at uniserve.com
Sat Dec 5 01:55:07 UTC 2020
I'm not sure if this is OT, if so please point me
to as better source.
I am trying to run a node.js module someone else developed. It is
intended to read from a little plantower dust sensor into a file.
The sensor is connected through a uart to a usb port.
I type "sudo ./getpmdatamod" and get an authentication request then a
sequence of these:
../getpmdatamod: line 14: /root/node_modules/plantower/bin.js: No such
file or directory
and as many more as you want, ctl-C stops it.
I am not running the command as root, only using sudo. Where is the
"/root" part coming from? Sure enough there isn't any "/node_modules" in
the /root folder but I'm not referencing it. Anyone know how this is
happening? or why?
Dave
More information about the ubuntu-users
mailing list