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

Open
opened 4 years ago by coolaj86 · 0 comments
coolaj86 commented 4 years ago
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

No due date set.

Dependencies

This issue currently doesn't have any dependencies.

Loading…
There is no content yet.