SASS编译错误-LoadError:无法加载此类文件-监听/版本-trace用于回溯 [英] SASS compile error - LoadError: cannot load such file -- listen/version Use --trace for backtrace
本文介绍了SASS编译错误-LoadError:无法加载此类文件-监听/版本-trace用于回溯的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!
问题描述
我第一次尝试使用SASS,我安装了最新版本,但是在终端中出现错误
I am trying to use SASS for the first time, i have installed the latest version but get errors in the terminal
stuarts-imac:css stuartcookney$ sass --watch main-style.scss
Sass is watching for changes. Press Ctrl-C to stop.
write main-style.css
LoadError: cannot load such file -- listen/version
Use --trace for backtrace.
它可以编译css文件,但是由于我所做的其他任何更改都无法更新,因此出现了问题。
It compiles the css file but something is broken as any other changes that i make they do not update.. what is wrong?
推荐答案
这对我和其他一些人来说是固定的:
This is what fixed it for me and some others:
sudo gem uninstall listen --version 2.7.0
sudo gem install listen --version 2.4.1
这篇关于SASS编译错误-LoadError:无法加载此类文件-监听/版本-trace用于回溯的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!
查看全文