我刚刚升级到 angular-meteor 1.2。我还升级了角度包。应用程序无法启动。我收到以下错误消息:
**error: conflict: two packages included in the app (angular-templates and templating) are both trying to handle *.html**
当我试图删除它时,我找不到名为“模板”的包。有任何想法吗?
我刚刚升级到 angular-meteor 1.2。我还升级了角度包。应用程序无法启动。我收到以下错误消息:
**error: conflict: two packages included in the app (angular-templates and templating) are both trying to handle *.html**
当我试图删除它时,我找不到名为“模板”的包。有任何想法吗?
我今天也遇到了这个问题,并meteor remove meteor-platform
为我解决了这个问题。从项目中删除的meteor-platform
原因templating
也将被删除,从而解决了冲突。我希望这有帮助!
编辑
根据Angular-Meteor 教程的第 0 步,还有另外两个可能需要移除;这些是blaze-html-templates
and ecmascript
,如果它们出现在您的包裹列表中。Angular-Meteor 1.2 对模板的处理方式进行了一些重要的更改。
流星 1.2.x
找出你有什么包
meteor list
它将列出所有包,然后找到模板包
例如 blaze-html-templates 等...
meteor remove blaze-html-templates
流星删除 blaze-html-templates
流星删除 ecmascript
运行上述命令删除这些冲突的包,您的应用程序应该可以正常运行。