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

開放中
建立於 2020-04-25 10:36:52 +00:00coolaj86 · 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.
登入 才能加入這對話。
未選擇標籤
未選擇里程碑
沒有負責人
1 參與者
通知
截止日期
截止日期無效或超出範圍,請使用「yyyy-mm-dd」的格式。

未設定截止日期。

先決條件

未設定先決條件。

參考: root/serviceman#3
No description provided.