顯示具有 node 標籤的文章。 顯示所有文章
顯示具有 node 標籤的文章。 顯示所有文章

2016年8月18日 星期四

[ubuntu][npm] 安裝node時出現failure might be due to the use of legacy binary "node"




sh: 1: node: not found
npm WARN This failure might be due to the use of legacy binary "node"
npm WARN For further explanations, please read /usr/share/doc/nodejs/README.Debian

解法

sudo apt-get install nodejs-legacy

收工