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

Errors on ng new with bower & angular router. #44

Closed
Nopzen opened this issue Oct 21, 2015 · 6 comments
Closed

Errors on ng new with bower & angular router. #44

Nopzen opened this issue Oct 21, 2015 · 6 comments

Comments

@Nopzen
Copy link

Nopzen commented Oct 21, 2015

When running ng new myproject you will get this:

bower angular-route#* ECMDERR Failed to execute "git ls-remote --tags --heads git://github.com/angular/bower-angular-route.git", exit code of #128 fatal: unable to connect to github.com: github.com[0: 192.30.252.128]: errno=Operation timed out

still succeeds, then running: ng serve gives you this expected result:
Module not found: Error: Cannot resolve module 'angular-route'

when then trying to run a bower i angular-route --save:
bower angular-deferred-bootstrap#~0.1.5 ECMDERR Failed to execute "git ls-remote --tags --heads git://github.com/philippd/bower-angular-deferred-bootstrap.git", exit code of #128 fatal: unable to connect to github.com: github.com[0: 192.30.252.130]: errno=Operation timed out

@cironunes
Copy link
Member

Which version of Node do you have? Make sure to use v4.

@Nopzen
Copy link
Author

Nopzen commented Oct 21, 2015

node -v
0.12.5

@cironunes
Copy link
Member

So you'll need to install v4 to be able to run angular-cli.

@Nopzen
Copy link
Author

Nopzen commented Oct 21, 2015

Giving it a go, comming back if issue is stil there :)

@Nopzen
Copy link
Author

Nopzen commented Oct 21, 2015

Fixed the issue thanks @cironunes .

@Nopzen Nopzen closed this as completed Oct 21, 2015
@angular-automatic-lock-bot
Copy link

This issue has been automatically locked due to inactivity.
Please file a new issue if you are encountering a similar or related problem.

Read more about our automatic conversation locking policy.

This action has been performed automatically by a bot.

@angular-automatic-lock-bot angular-automatic-lock-bot bot locked and limited conversation to collaborators Sep 5, 2019
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants