[英]ember cli application build fails: The Broccoli Plugin: [object Object] failed with:
[英]Ember Cli not compiling with broccoli-emblem-compiler
我正在嘗試在本地https://github.com/lrdiv/ember-soundcloud上建立此存儲庫,而我用broccoli-emblem-compiler遇到了這個問題。 見附件中的圖片
根據我的理解,西蘭花會徽編譯器無法編譯我的會徽模板,而且我不知道該如何解決。
這些是我使用Ember-Cli安裝和設置項目的所有步驟
ember new soundcloud
ember install:addon ember-cli-coffeescript
ember install:npm broccoli-emblem-compiler
我已經刪除了app文件夾並替換為我克隆的項目https://github.com/lrdiv/ember-soundcloud
然后我已經安裝了所需的其他節點模塊
ember install:npm broccoli-static-compiler
ember install:npm broccoli-merge-trees
ember install:npm install body-parser
最后我跑了
ember server
,並且在我的終端中出現了我已附加的錯誤。
我現在該怎么辦才能解決這個問題? 到底是什么問題?
我做了很多事情試圖解決這個問題。 一種是在項目設置中用以下這一行替換項目broccoli-emblem-compiler:
“ broccoli-emblem-compiler”:“ git + https://github.com/cascalheira/broccoli-emblem-compiler.git ”
有時錯誤消失了,我認為這是我使用該存儲庫的時間。 在其他問題中提到了它。
我遇到了broccoli-emblem-compiler
,但在ember-cli-emblem-hbs-printer
卻取得了成功-
我可以通過在package.json文件中指定Emblem.js版本來解決此問題。
具體來說,我添加了以下行:
"emblem": "0.3.14"
聲明:本站的技術帖子網頁,遵循CC BY-SA 4.0協議,如果您需要轉載,請注明本站網址或者原文地址。任何問題請咨詢:yoyou2525@163.com.