Skip to content
This repository has been archived by the owner on Aug 11, 2022. It is now read-only.

npm on mac terminal stops half way #5110

Closed
ClaudeBotes opened this issue Apr 20, 2014 · 1 comment
Closed

npm on mac terminal stops half way #5110

ClaudeBotes opened this issue Apr 20, 2014 · 1 comment

Comments

@ClaudeBotes
Copy link

Hi All,

I'm new to npm and trying to setup an Angular project with Yeoman.
I currently have Bower, Yo, Grunt CLI, the angular generator and a few other packages installed. Getting there was the biggest pain ever.

I have gone through probably 40 blogs and youtube videos and followed each step by step, but every time I need to run $npm install -g , or npm install, my terminal would just stop half way and the executed command would never finish unless I kill it. I then would try again, and sometimes it would get further with the execution, other times not. I ran npm about ten times for each of Bower, Yo and Grunt before I got them installed. sudo does not help either.

There is no pattern I can see as it will stop diff steps when I delete and rerun the command.

Can someone please advise if I missed anything or if this is a regular process setting up project?

Thanks

@othiym23
Copy link
Contributor

It sounds like you were running into a combination of some issues with our registry and its CDN, which we were still sorting out back in April, and some race conditions in npm that made using yo difficult for a while. As of npm@2.0.0, we believe we've fixed those issues. Take a look at #6043 for instructions on how to upgrade to a new, fixed version of npm. Sorry it was such a pain to get up and running, and thanks for your patience!

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

No branches or pull requests

2 participants