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

開啟中
coolaj862020-04-25 10:36:52 +00:00建立 · 0 comment
管理員

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.
登入 才能加入這對話。
未選擇標籤
未選擇里程碑
No Assignees
1 參與者
訊息
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.