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
react-native run-android throw new TypeError('invalid data');^ TypeError: invalid data at WriteStream.Socket.write (net.js:617:11) #6074
Comments
This worked on my machine: Problem seems to be at In my case I was copying my project between machines, so setup_env.sh could have just lost its execute bits somewhere along the line. |
i get same error |
i get same error |
Because some file haven't permission so it errors. I use Ubuntu with two On Mon, Aug 22, 2016 at 4:38 PM, BoluoPi notifications@github.com wrote:
|
Same error here. Same solution of @ducpm0301. Thanks! |
1 similar comment
Same error here. Same solution of @ducpm0301. Thanks! |
Almost Same error here. TypeError: Invalid data, chunk must be a string or buffer, not object |
It sounds like this is solved as a non-RN-bug, so I am going to close this issue. Thanks folks for chiming in with solutions! |
I use ubuntu 14.04. I have finished install follow link : https://facebook.github.io/react-native/docs/getting-started.html. And create : react-native init AwesomeProject success but when i run command : react-native run-android, i have problem : net.js:617
throw new TypeError('invalid data');
^
TypeError: invalid data
at WriteStream.Socket.write (net.js:617:11)
at Object.execFileSync (child_process.js:482:20)
at Object.run (/AwesomeProject/node_modules/react-native/local-cli/cli.js:77:16)
at Object. (/usr/local/lib/node_modules/react-native-cli/index.js:73:7)
at Module._compile (module.js:409:26)
at Object.Module._extensions..js (module.js:416:10)
at Module.load (module.js:343:32)
at Function.Module._load (module.js:300:12)
at Function.Module.runMain (module.js:441:10)
at startup (node.js:134:18)
My envirement :
Linux cpu-duclh 3.16.0-60-generic Cannot run examples #80~14.04.1-Ubuntu SMP Wed Jan 20 13:37:48 UTC 2016 x86_64 x86_64 x86_64 GNU/Linux
-nodejs -v
v4.3.1
npm -v
2.14.12
Please help me!!!
The text was updated successfully, but these errors were encountered: