【问题标题】:yeoman webapp generator grunt sass --traceyeoman webapp 生成器 grunt sass --trace
【发布时间】:2014-11-14 15:16:07
【问题描述】:

我正在寻找一种方法来查看 sass 中的行错误。 它一直在告诉我:

Warning: Running "sass:server" (sass) task Use --force to continue.
    Aborted due to warnings.

但是 grunt serve --trace 不起作用 Gruntfile 中也没有调整

我正在使用 yeoman webapp-generator

【问题讨论】:

    标签: sass yeoman


    【解决方案1】:

    很长一段时间,但也许有人仍然需要提示。我可以通过重新安装 sass 来修复它:

    npm install --save-dev grunt-sass
    

    现在 Sass 错误消息将更加有用,并且最有可能指向确切的错误。

    【讨论】:

      猜你喜欢
      • 2014-08-03
      • 1970-01-01
      • 1970-01-01
      • 1970-01-01
      • 1970-01-01
      • 1970-01-01
      • 1970-01-01
      • 2023-03-12
      • 2014-08-11
      相关资源
      最近更新 更多