2
1
mirror of https://github.com/therootcompany/serviceman.git synced 2025-03-07 00:50:40 +00:00

node/npm v12+ needs additional flags by default #3

Open
opened 2020-04-25 10:36:52 +00:00 by coolaj86 · 0 comments
Owner

Now this needs to be added:

--scripts-prepend-node-path=true

as in

/home/aj/.local/opt/node-v12.16/bin/node /home/aj/.local/opt/node-v12.16/bin/npm --scripts-prepend-node-path=true start

Would prefer not to make a special case for node, but... whattado?

Also, npm can no longer run as root - so setcap and a fake user are needed.

Now this needs to be added: ``` --scripts-prepend-node-path=true ``` as in ``` /home/aj/.local/opt/node-v12.16/bin/node /home/aj/.local/opt/node-v12.16/bin/npm --scripts-prepend-node-path=true start ``` Would prefer not to make a special case for node, but... whattado? Also, npm can no longer run as root - so setcap and a fake user are needed.
Sign in to join this conversation.
No Label
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: root/serviceman#3
No description provided.