Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Template conflict Angular Meteor 1.2

I just upgraded to angular-meteor 1.2. I also upgraded the angular package. App won't start. I am getting the following error message:

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

I could not find a package named 'templating' when I tried to remove it. Any ideas?

like image 858
SudiB Avatar asked Nov 10 '15 15:11

SudiB


4 Answers

I too ran into this problem today, and meteor remove meteor-platform solved the problem for me. Removing meteor-platform causes templating to also be removed from the project, which resolved the conflict. I hope this helps!

EDIT

There are two others which may require removal according to Step 0 of the Angular-Meteor tutorial; these are blaze-html-templates and ecmascript, if they happen in your package list. Angular-Meteor 1.2 has some important changes to how templating is handled.

like image 129
aliigleed Avatar answered Nov 20 '22 21:11

aliigleed


meteor remove blaze-html-templates

meteor remove ecmascript

Run the above command to remove these conflicting packages and your app should run fine .

like image 29
Abhay Kumar Avatar answered Nov 20 '22 22:11

Abhay Kumar


Meteor 1.2.x

find out what are packages you have

meteor list

it will list all the packages and then find template package

e.g blaze-html-templates etc ...

meteor remove blaze-html-templates
like image 2
Root Avatar answered Nov 20 '22 20:11

Root


I had to remove angular-with-blaze to clear this problem

meteor remove angular-with-blaze

It would be nice to have an option to list package dependencies as described in this enhancement request.

like image 1
SeattleStephens Avatar answered Nov 20 '22 20:11

SeattleStephens