react-native: NPM Install stuck on 0.22.0

I went to upgrade my project to 0.22.0, and it ‘froze’ on one of the packages. I tried all different things to make sure it wasn’t network related. I couldn’t pinpoint the issue (none of my troubleshooting worked).

I then put it back on 0.21.0 and it works perfectly.

I completely uninstalled npm and node to do a 100% fresh start:

$ npm -v
3.7.3
$ node -v
v5.9.0

I still have the same issue. It’s hard to tell what the exact problem is, because when I run npm install react-native --verbose it cuts off the package name, and also doesn’t give any useful info that I can see.

This is where it hangs though:

image

There is also a few of these sporadically thrown in the output:

retry will retry, error on last attempt: Error: read ECONNRESET

However, I’m not using a proxy (apparently causes that error a lot) and doing npm install when its 0.21.0 works 100% so I don’t think it’s anything like a service being down or my internet.

About this issue

  • Original URL
  • State: closed
  • Created 8 years ago
  • Comments: 35 (17 by maintainers)

Most upvoted comments