npm ERR! [email protected] install: `node install.js`

昨天在项目中安装依赖时,老报这个错误,把node-module删除以后,也不行。错误提示如下图所示:


解决的办法:使用命令

npm install chromedriver --chromedriver_cdnurl=http://cdn.npm.taobao.org/dist/chromedriver

有时候也可能报node-sass没有安装,如下图


使用命令:

npm install node-sass --save-dev

希望能对大家有所帮助。

猜你喜欢

转载自blog.csdn.net/lschange/article/details/80491649