SudiB
SudiB

Reputation: 223

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?

Upvotes: 6

Views: 1655

Answers (4)

Root
Root

Reputation: 147

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

Upvotes: 2

SeattleStephens
SeattleStephens

Reputation: 587

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.

Upvotes: 1

Abhay Kumar
Abhay Kumar

Reputation: 5383

meteor remove blaze-html-templates

meteor remove ecmascript

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

Upvotes: 2

aliigleed
aliigleed

Reputation: 238

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.

Upvotes: 11

Related Questions