Unexpected exception:
NullError: method not found: 'length' on null


/usr/local/lib/node_modules/sass/sass.dart.js 8583:23   tF.eA
/usr/local/lib/node_modules/sass/sass.dart.js 8585:28   tF.aB
/usr/local/lib/node_modules/sass/sass.dart.js 8285:14   kX.bV
/usr/local/lib/node_modules/sass/sass.dart.js 10318:36  <fn>
/usr/local/lib/node_modules/sass/sass.dart.js 2912:71   DR.a
/usr/local/lib/node_modules/sass/sass.dart.js 3147:23   DR.$2
/usr/local/lib/node_modules/sass/sass.dart.js 3145:26   Ca.dart.Ca.$2
         /usr/local/lib/node_modules/sass/sass.dart.js 4255:23   AV.ud
        /usr/local/lib/node_modules/sass/sass.dart.js 3391:51   dM.tn
        /usr/local/lib/node_modules/sass/sass.dart.js 3633:7    Aq.$0


谁能帮我这个?
发生此错误时,我正在使用命令sass --watch ./src/sass ./src/css

最佳答案

您需要在src和目标:之间放置一个冒号sass --watch ./src/sass:./src/css

关于css - 尝试sass --watch ./folder ./css时sass编译错误,我们在Stack Overflow上找到一个类似的问题:https://stackoverflow.com/questions/51204805/

10-16 00:24