错误的ERR! node-sass@4.5.0安装:`node scripts / install.js`

时间:2018-05-25 08:52:37

标签: node.js npm

在Ubuntu 16中为我的应用程序安装npm时出错

npm ERR! node-sass@4.5.0 install: `node scripts/install.js`
npm ERR! spawn ENOENT
npm ERR!
npm ERR! Failed at the node-sass@4.5.0 install script 'node scripts/install.js'.
npm ERR! Make sure you have the latest version of node.js and npm installed.
npm ERR! If you do, this is most likely a problem with the node-sass package,

1 个答案:

答案 0 :(得分:0)

编辑你的package.json使用“node-sass@^4.5.3”,这个版本对我来说安装正常