-
Notifications
You must be signed in to change notification settings - Fork 12k
ng install fails with missing module #185
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
Comments
@filipesilva try |
Roger, that solves it. I'll look into a more permanent solution for this tomorrow. Thanks for the super fast response btw! |
@filipesilva are you on Windows or Mac? |
I am on windows, but although @jkuri 's fix resolved my issue with
It seems related with this check. It seems to be enforcing the bundling step in the docs. |
I think the peer deps warnings aren't causing any issues. The real issue appears to be these lines: https://github.com/angular/angular-cli/blob/master/addon/ng2/tasks/lib-install.js#L563 Those lines are checking if my package contains |
@jeffbcross try setting the correct $NODE_PATH on Mac. Edit: ng2-cli-test-lib is a good example exporting everything possible |
I can also provide a PR for this library to make package authentic if it will be needed. |
Thanks for the help @jkuri and @filipesilva! |
This issue has been automatically locked due to inactivity. Read more about our automatic conversation locking policy. This action has been performed automatically by a bot. |
Using the latest master, and trying to install angularfire2 yields the following result:
I tried to simply do
npm install npm
on myangular-cli
install, but that changes the error to something else that doesn't look much better.The issue seems to be related with this line.
/cc @jkuri @NathanWalker @jeffbcross
Edit: running
ng install ng2-cli-test-lib
yields the same results.The text was updated successfully, but these errors were encountered: