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

Stop working during initialize new project #66

Closed
yottanami opened this issue Sep 15, 2016 · 4 comments
Closed

Stop working during initialize new project #66

yottanami opened this issue Sep 15, 2016 · 4 comments

Comments

@yottanami
Copy link

yottanami commented Sep 15, 2016

I am trying to initialize new project but it stops during Creating React Native skeleton.
I wait about one hour but it did not work.
I also tried using http_proxy

Is there anyway see the what is happening behind?
As I checked there is a --verbose option in natal but not in re-natal

@drapanjanas
Copy link
Owner

Hey, what you could do is cd into a folder which was created during aborted re-natal init command and run npm i. That is usally takes most of the time.
I have moved some things around after fork so new things in natal were not mergeable, --verbose optin is useful I agree we should have that in re-natal too.

@j-h-l
Copy link

j-h-l commented Sep 26, 2016

Are you (@yottanami) by any chance on mac sierra? This is happening to me after the upgrade. (re-natal version 0.2.43)

edit
as per @drapanjanas 's advice, I ran npm i and I get:
npm WARN react-native@0.34.0 requires a peer of react@~15.3.1 but none was installed.

@j-h-l
Copy link

j-h-l commented Sep 26, 2016

Looked in generated package.json it looks like "react": "15.3.1" or something like it is missing

@j-h-l
Copy link

j-h-l commented Sep 27, 2016

I was able to fix this problem by following this:

I also ran into this issue and can confirm that the problem is watchman. I had used homebrew to uninstall/reinstall and was still running into the same issues. My steps to solve were the following:

Uninstall watchman with homebrew
Delete the contents of the /usr/local/var/run/watchman/ folder
Re-install watchman with homebrew
I was able to figure out the extra step of deleting the contents of the watchman folder from these two github issues: - facebook/watchman#361 - facebook/watchman#358 (comment)

React Native hanging Forever stackoverflow answer

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

No branches or pull requests

3 participants