S
S
Shane Matte2016-11-15 11:25:11
JavaScript
Shane Matte, 2016-11-15 11:25:11

Why is react native not working?

When executing react-native run-android command

events.js:160
      throw er; // Unhandled 'error' event
      ^

Error: write EINVAL
    at exports._errnoException (util.js:1022:11)
    at WriteStream.Socket._writeGeneric (net.js:715:26)
    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:\apps\reactnative\showdriver\node_modules\ansi\lib\newlines.js:36:21)
    at Object.execFileSync (child_process.js:506:20)
    at Object.run (C:/apps/reactnative/showdriver/node_modules/react-native/local-cli/cliEntry.js:157:16)

What is the problem?

Answer the question

In order to leave comments, you need to log in

1 answer(s)
A
Alexey Nemiro, 2016-11-15
@mattedev

Perhaps Node.js needs to be updated.
https://github.com/nodejs/node/issues/9542

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question