5

我正在尝试在本地设置此存储库https://github.com/lrdiv/ember-soundcloud并且我遇到了 broccoli-emblem-compiler 的这个问题。见附件中的图片终端错误

据我了解, 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,并且在我的终端中,我收到了我附加的错误。

我现在能做些什么来解决这个问题?真正的问题是什么?

4

3 回答 3

3

我做了很多事情来试图解决这个问题。一个是在项目设置中用这一行替换项目 broccoli-emblem-compiler:

“花椰菜标志编译器”:“git+ https://github.com/cascalheira/broccoli-emblem-compiler.git

有时错误消失了,我想是在我使用这个存储库时。它在其他问题中有所提及。

于 2015-02-24T08:35:14.717 回答
2

我遇到了问题broccoli-emblem-compiler,但刚刚成功 ember-cli-emblem-hbs-printer-

https://github.com/201-created/ember-cli-emblem-hbs-printer

于 2015-02-28T23:14:16.083 回答
0

我可以通过在我的 package.json 文件中指定一个版本的会徽.js 来解决这个问题。

具体来说,我添加了以下行:

"emblem": "0.3.14"

于 2015-02-25T23:05:53.803 回答