6

我刚刚升级到 angular-meteor 1.2。我还升级了角度包。应用程序无法启动。我收到以下错误消息:

**error: conflict: two packages included in the app (angular-templates and templating) are both trying to handle *.html**

当我试图删除它时,我找不到名为“模板”的包。有任何想法吗?

4

4 回答 4

11

我今天也遇到了这个问题,并meteor remove meteor-platform为我解决了这个问题。从项目中删除的meteor-platform原因templating也将被删除,从而解决了冲突。我希望这有帮助!

编辑

根据Angular-Meteor 教程的第 0 步,还有另外两个可能需要移除;这些是blaze-html-templatesand ecmascript,如果它们出现在您的包裹列表中。Angular-Meteor 1.2 对模板的处理方式进行了一些重要的更改。

于 2015-11-10T18:54:49.317 回答
2

流星 1.2.x

找出你有什么包

meteor list

它将列出所有包,然后找到模板包

例如 blaze-html-templates 等...

meteor remove blaze-html-templates
于 2016-01-16T21:29:57.860 回答
2

流星删除 blaze-html-templates

流星删除 ecmascript

运行上述命令删除这些冲突的包,您的应用程序应该可以正常运行。

于 2015-12-07T11:01:36.713 回答
1

我不得不删除 angular-with-blaze 来解决这个问题

meteor remove angular-with-blaze

最好有一个选项来列出此增强请求中描述的包依赖项。

于 2015-12-23T21:24:24.690 回答