Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Package Conflicting with angular-compilers #18

Closed
klynicol opened this issue Feb 6, 2018 · 2 comments
Closed

Package Conflicting with angular-compilers #18

klynicol opened this issue Feb 6, 2018 · 2 comments

Comments

@klynicol
Copy link

klynicol commented Feb 6, 2018

When trying to run meteor, I got the following error:

While determining active plugins:
error: conflict: two packages included in the app (urigo:static-templates and angular-compilers) are both trying to handle *.html

Not sure how to solve this issue.

@SimonSimCity
Copy link
Collaborator

... which is because meteor doesn't allow you having two compilers trying to handle the same file extension.

Are you still facing this problem?

I guess you're transiting over from AngularJS to Angular and want to do it slowly, right?

If this is the case - since you in the end anyways won't use this plugin but use angular-compiler which is made for Angular - you should remove it and e.g. use templateUrl instead of template in your controllers (don't know what other places I'd use it ...). I've tried installing angular-compiler on an AngularJS app and can confirm that it doesn't work without installing the npm packages for Angular and stopped testing from there on.

I would take it up in the list of known issues, since it is an issue that doesn't really have a solution that could be taken within the boundaries of this package.

@klynicol
Copy link
Author

Thanks @SimonSimCity, I've been working on getting up to date with my angular-meteor project. I do not face this problem anymore, closing.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants