我正在尝试使用scss
命令来查看.scss文件。
我跑的时候
scss scss/main.scss:public/css/main.css --watch
我收到以下错误:
NameError: uninitialized constant Listen::MultiListener
这是带有--trace
参数的命令的结果:
masious@ubuntu:~/Desktop/laravel$ sudo scss scss/main.scss:public/css/main.css --watch --trace
Sass正在关注变化。按Ctrl-C停止。 /usr/lib/ruby/vendor_ruby/sass/plugin/compiler.rb:250:in
watch': uninitialized constant Listen::MultiListener (NameError) from /usr/lib/ruby/vendor_ruby/sass/plugin.rb:107:in
method_missing' 来自/usr/lib/ruby/vendor_ruby/sass/exec.rb:459:inwatch_or_update' from /usr/lib/ruby/vendor_ruby/sass/exec.rb:326:in
process_result' 来自/usr/lib/ruby/vendor_ruby/sass/exec.rb:41:inparse' from /usr/lib/ruby/vendor_ruby/sass/exec.rb:21:in
解析!' 来自/ usr / bin / scss:8:在`'