【问题标题】:sass --interactive returns FormatException: Could not find an option named "interactive"sass --interactive 返回 FormatException:找不到名为“interactive”的选项
【发布时间】:2017-07-05 05:15:32
【问题描述】:

每次我尝试调用 sass 交互式 shell 时都会收到 FormatException 错误。请问有谁知道这是什么原因以及如何解决。我试过谷歌搜索,但我得到的只是语法错误,对此一无所知。请在下面找到返回的错误消息。 提前感谢您的帮助。

 my_username$ sass --interactive
/usr/local/lib/node_modules/sass/sass.dart.js:1436
if(this===init.globalState.e)throw u}}finally{this.cy=x
                             ^

FormatException: Could not find an option named "interactive".
    at b (/usr/local/lib/node_modules/sass/sass.dart.js:1916:3)
    at q (/usr/local/lib/node_modules/sass/sass.dart.js:1922:23)
    at iu.fo (/usr/local/lib/node_modules/sass/sass.dart.js:6358:14)
    at iu.aC (/usr/local/lib/node_modules/sass/sass.dart.js:6256:9)
    at /usr/local/lib/node_modules/sass/sass.dart.js:8058:42
    at uM.a (/usr/local/lib/node_modules/sass/sass.dart.js:3050:72)
    at uM.dart.uM.$2 (/usr/local/lib/node_modules/sass/sass.dart.js:3146:24)
    at tU.dart.tU.$1 (/usr/local/lib/node_modules/sass/sass.dart.js:3142:31)
    at tn.fv (/usr/local/lib/node_modules/sass/sass.dart.js:3380:41)
    at qv.$0 (/usr/local/lib/node_modules/sass/sass.dart.js:3329:16)

【问题讨论】:

标签: sass rubygems dart gulp-sass


【解决方案1】:

看起来您正在使用 Dart Sass,它(当前)不支持 --interactive 标志。不过,请随时提交功能请求!

【讨论】:

    猜你喜欢
    • 1970-01-01
    • 2017-05-07
    • 1970-01-01
    • 2019-02-04
    • 1970-01-01
    • 1970-01-01
    • 2011-01-03
    • 2010-10-13
    • 1970-01-01
    相关资源
    最近更新 更多