[英]Error in installing lumx angular material design framework?
我只是嘗試使用 lumX,因為它看起來很有前途的 Angular Material 開發和前端的快速開發,但是在通過他們的文檔規范https://github.com/lumapps/lumX后我收到了以下錯誤
1: Downloaded the lumx
2: Did npm install
3: Did bower install lumx
然后在 gulp build 我收到這個錯誤:
Error in plugin 'gulp-sass'
Message:
core/scss/_lumx.scss
Error: File to import not found or unreadable: bourbon
Parent style sheet: /Applications/Angular_Projects/KM_lumX/core/scss/_lumx.scss
on line 5 of core/scss/_lumx.scss
>> @import "bourbon";
^
Details:
formatted: Error: File to import not found or unreadable: bourbon
Parent style sheet: /Applications/Angular_Projects/KM_lumX/core/scss/_lumx.scss
on line 5 of core/scss/_lumx.scss
>> @import "bourbon";
^
column: 1
line: 5
file: /Applications/Angular_Projects/KM_lumX/core/scss/_lumx.scss
status: 1
messageFormatted: core/scss/_lumx.scss
Error: File to import not found or unreadable: bourbon
Parent style sheet: /Applications/Angular_Projects/KM_lumX/core/scss/_lumx.scss
on line 5 of core/scss/_lumx.scss
>> @import "bourbon";
^
我是否以錯誤的方式安裝它,或者有什么方法可以解決這個錯誤,我對 scss 和 angular 很陌生,任何線索都將不勝感激。
我通過從 repo 克隆 git 並更新.bowerrc
文件以在 bower 組件的當前目錄中包含 libs 解決了同樣的問題。
.bowerrc
內容應該是:
{ "directory": "./libs" }
聲明:本站的技術帖子網頁,遵循CC BY-SA 4.0協議,如果您需要轉載,請注明本站網址或者原文地址。任何問題請咨詢:yoyou2525@163.com.