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

Can't run/complete eject #271

Closed
joeyfigaro opened this issue Jun 21, 2017 · 7 comments
Closed

Can't run/complete eject #271

joeyfigaro opened this issue Jun 21, 2017 · 7 comments

Comments

@joeyfigaro
Copy link

joeyfigaro commented Jun 21, 2017

Description

Every time I run eject, the process freezes after the first prompt.

Expected Behavior

yarn run eject - I expected to be able to eject.

Observed Behavior

I answer the first question (choosing either option for ejecting produces the same result - freezing) and then the session becomes unresponsive.

Environment

  • react-native-scripts@0.0.31
  • react-native@0.44.3
  • expo@17.0.0
  • node 8.1.0
  • npm 5.0.3
  • yarn 0.24.6
  • watchman version -> Please specify a target and action
  1. Operating system:
    OS X 10.12.5

  2. Phone/emulator/simulator & version:
    10.0

Reproducible Demo

N/A

@brentvatne
Copy link
Member

brentvatne commented Jun 24, 2017

hello! it looks like you are using npm5, we do not support that as it is currently very buggy. this is likely the problem.

see:

i suspect if you npm i -g npm@4.6.1 and then reinstall your node_modules, that will resolve the problem. we warn when you create a new project now, but unfortunately don't have error handling sprinkled everywhere, if you'd like to submit a PR to warn in more situations that would be helpful!

let me know if this resolves the issue

@joeyfigaro
Copy link
Author

@brentvatne Thanks! I'll give that a shot this evening.

@joeyfigaro
Copy link
Author

@brentvatne No go, unfortunately. Created a new project after installing / using npm@4.6.1 and it is still freezing. The plot thickens.

@brentvatne
Copy link
Member

did you ever resolve this @joeyfigaro?

@eveningkid
Copy link

I'm running into the exact same issue even when using npm@4.6.1, on macOS.

It would be nice to hear from you @joeyfigaro if you managed to solve this on your side! 😄

@nbucciarelli
Copy link

I was having eject freezes on Node 8.1.0/NPM 4.6.1 + 5.5. I jumped up to Node 8.6.0/NPM 5.3.0 and it worked.

@juanlet
Copy link

juanlet commented Mar 24, 2018

Same issue...windows 10

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

No branches or pull requests

5 participants