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

[WINDOWS 10] - issue when trying to run react-native init AwesomeProject #11018

Closed
sundayhd opened this issue Nov 18, 2016 · 1 comment · May be fixed by hixio-mh/react-native#20
Closed

[WINDOWS 10] - issue when trying to run react-native init AwesomeProject #11018

sundayhd opened this issue Nov 18, 2016 · 1 comment · May be fixed by hixio-mh/react-native#20
Labels
Resolution: Locked This issue was locked by the bot.

Comments

@sundayhd
Copy link

sundayhd commented Nov 18, 2016

Description

I want to start React Native for the first time.

Additional Information

  • React Native version: 0.37
  • Platform: both
  • Operating System: Windows 10

Error Log

C:>react-native init AwesomeProject
This will walk you through creating a new React Native project in C:\AwesomeProject
Installing react-native from npm...
Consider installing yarn to make this faster: https://yarnpkg.com
Setting up new React Native app in C:\AwesomeProject
events.js:160
throw er; // Unhandled 'error' event
^

Error: This socket is closed
at WriteStream.Socket._writeGeneric (net.js:683:19)
at WriteStream.Socket._write (net.js:734:8)
at doWrite (_stream_writable.js:334:12)
at writeOrBuffer (_stream_writable.js:320:5)
at WriteStream.Writable.write (_stream_writable.js:247:11)
at WriteStream.Socket.write (net.js:661:40)
at WriteStream.stream.write (C:\AwesomeProject\node_modules\ansi\lib\newlines.js:36:21)
at Console.warn (console.js:51:16)
at process.on (internal/process/warning.js:21:17)
at emitOne (events.js:96:13)

@sundayhd
Copy link
Author

the problam was related to nodejs
nodejs/node#9542

I just reinstall nodejs with msi (from the offical site)
and it seems to fix the problam.

@facebook facebook locked as resolved and limited conversation to collaborators May 24, 2018
@react-native-bot react-native-bot added the Resolution: Locked This issue was locked by the bot. label Jul 19, 2018
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
Resolution: Locked This issue was locked by the bot.
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants