[英]Error while running npm run build command in react after installing sass
I installed sass using the command npm install --save-dev sass
, while running npm run build
command I'm getting the following error 我使用
npm install --save-dev sass
命令npm install --save-dev sass
,同时运行npm run build
命令时出现以下错误
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
Refer the documentation https://www.npmjs.com/package/sass 请参阅文档https://www.npmjs.com/package/sass
Try this npm install -g sass
试试这个
npm install -g sass
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.