npm install过程中报错:
Unable to read "./node_modules/phantomjs-prebuilt/lib/location.js" file (Error code: ENOENT
原因是:
1. 没有安装gzip2
解决方法:yum install gzip2 -y
2. 使用root用户在/root 下执行命令
解决方法:切换到其他用户
npm install过程中报错:
Unable to read "./node_modules/phantomjs-prebuilt/lib/location.js" file (Error code: ENOENT
原因是:
1. 没有安装gzip2
解决方法:yum install gzip2 -y
2. 使用root用户在/root 下执行命令
解决方法:切换到其他用户