Laravel

共1篇文章。

在debian使用npm安装出错

Dev Notes

在一台Debian机器上部署Laravel,nmp install的时候总出错,错误如下

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

nodejs一定是通过apt-get安装过了,查过之后就是还有一些老旧的package在使用node,所以需要安装一下apt-get install nodejs-legacy,之后就OK了

阅读全文…:在debian使用npm安装出错(本文约158字,阅读大致需要1分钟)
搜索文章…(按ESC退出)