2016-09-18 105 views
3

我想用IntelliJ Idea Framework開發我的第一頁bootstrap和SASS。當我在main.scss類型顯示要導入的文件找不到或無法讀取指南針 - IntelliJ

@import "compass" 

的錯誤消息:

cmd.exe /D /C call C:/Ruby22-x64/bin/scss.bat --no-cache --update main.scss:main.css 
    error main.scss (Line 1: File to import not found or unreadable: compass.) 

我已啓用在的IntelliJ羅盤,使用CMD安裝指南針和設置羅盤的配置路徑。我需要做些什麼才能使它正確? 請幫忙!!

回答

2

我花了很多時間來解決同樣的問題。 轉到WebStorm/Preferences/Tools/File Watchers。 在那裏你應該創建指南針觀察者(按「+」號添加新的觀察者),並禁用SASS觀察者,如果它存在的話!指南針觀察者應該看起來像我的屏幕。嘗試一下。希望我的帖子會有幫助=) enter image description here

相關問題