【问题标题】:Error while running npm run build command in react after installing sass安装 sass 后在 react 中运行 npm run build 命令时出错
【发布时间】:2020-03-22 16:08:57
【问题描述】:

我使用命令npm install --save-dev sass 安装了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

【问题讨论】:

    标签: reactjs npm sass


    【解决方案1】:

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

    试试这个npm install -g sass

    【讨论】:

      猜你喜欢
      • 1970-01-01
      • 2021-03-03
      • 2022-06-16
      • 2020-01-31
      • 1970-01-01
      • 2017-12-28
      • 1970-01-01
      • 1970-01-01
      • 2021-10-14
      相关资源
      最近更新 更多