安装sass后在React中运行npm run build命令时出错

时间:2019-11-27 06:46:57

标签: reactjs npm sass

我在运行npm install --save-dev sass命令时使用命令npm run build安装了sass,但出现以下错误

npm ERR! Failed at the react-app@1.1.0 build script.
npm ERR! This is probably not a problem with npm. There is likely additional logging output above.


npm ERR! A complete log of this run can be found in:
npm ERR!     C:\Users\md3\AppData\Roaming\npm-cache\_logs\2019-11-27T06_26_11_296Z-debug.log

1 个答案:

答案 0 :(得分:0)

请参阅文档https://www.npmjs.com/package/sass

尝试一下npm install -g sass