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
No Milestone
No Assignees
1 Participants
Notifications
Due Date
The due date is invalid or out of range. Please use the format 'yyyy-mm-dd'.

No due date set.

Dependencies

No dependencies set.

Reference: root/serviceman#3
No description provided.