node problem with Mint
Dave Stevens
geek at uniserve.com
Sat Dec 5 18:49:12 UTC 2020
On Sat, 05 Dec 2020 12:37:54 +0100
Oliver Grawert <ogra at ubuntu.com> wrote:
> hi,
> Am Freitag, den 04.12.2020, 17:55 -0800 schrieb Dave Stevens:
> > 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.
> >
> ...
> >
> > I am not running the command as root, only using sudo.
>
> why do you do that ?
to get access to an i/o device, without sudo I get permission errors
>
> looking at https://github.com/perfectworks/node-plantower (which you
> seem to be using)
yes, correct
>
> nowehere in the instructions sudo is used, that might simply confuse
> nodejs ... i'd just make sure your user is in the dialout group to
> grant access to the serial port and try without sudo ...
>
> ciao
> oli
ok I can try that, thanks!
d
>
More information about the ubuntu-users
mailing list