question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

gulp android not working on Windows 10

See original GitHub issue

When I run gulp android command on Windows 10, I get the following error:

$ gulp android
[15:42:07] Requiring external module babel-register
(node:4440) fs: re-evaluating native module sources is not supported. If you are using the graceful-fs module, please update it to a more recent version.
(node:4440) fs: re-evaluating native module sources is not supported. If you are using the graceful-fs module, please update it to a more recent version.
[15:42:09] Using gulpfile ~\Dev\este-app\gulpfile.babel.js
[15:42:09] Starting 'env'...
[15:42:09] Finished 'env' after 29 ms
[15:42:09] Starting 'native'...
[15:42:09] Finished 'native' after 65 ms
[15:42:09] Starting 'android'...
[bg] Starting react-native run-android
[15:42:09] Finished 'android' after 3.41 ms
events.js:160
      throw er; // Unhandled 'error' event
      ^

Error: spawn react-native ENOENT
    at exports._errnoException (util.js:1012:11)
    at Process.ChildProcess._handle.onexit (internal/child_process.js:182:32)
    at onErrorNT (internal/child_process.js:348:16)
    at _combinedTickCallback (internal/process/next_tick.js:74:11)
    at process._tickCallback (internal/process/next_tick.js:98:9)
    at Module.runMain (module.js:577:11)
    at run (bootstrap_node.js:352:7)
    at startup (bootstrap_node.js:144:9)
    at bootstrap_node.js:467:3

I’m running Node v6.3.1 and npm v3.10.3.

What I did is simple: I’ve cloned this repository, installed gulp globally and ran npm install. I haven’t touched any of the files.

Issue Analytics

  • State:closed
  • Created 7 years ago
  • Comments:14 (9 by maintainers)

github_iconTop GitHub Comments

1reaction
steidacommented, Dec 5, 2016

@txs My rate is $300 per hour, sorry.

0reactions
TheUltDevcommented, Dec 20, 2016

It was a simple fix, if you need it immediately the change is in https://github.com/este/este/pull/1277 It should be merged in soon though.

Read more comments on GitHub >

github_iconTop Results From Across the Web

gulp command not found - error after installing gulp
Set it to: %AppData%\npm\node_modules or %AppData%\npm on windows 8-10; Close CMD, and Re-Open to get the new ENV variables. Add Node path to...
Read more >
How to fix error: "gulp is not recognized as an internal or ...
In Windows, click the Start menu and type in “environment,” then select “Edit the system environment variables.”
Read more >
'gulp' is not recognized as an internal or external command ...
I have it working in Windows 10 but I believe it is the same. When I check the npm folder: C:\Users\(YourName)\AppData\Roaming\npm
Read more >
gulp.js
A toolkit to automate & enhance your workflow. Leverage gulp and the flexibility of JavaScript to automate slow, repetitive workflows and compose them...
Read more >
gulp.watch(...) not working on Windows #222 - GitHub
Steps to reproduce: Run gulp watch in the project folder. Change 42 in client/test.js to 43 and save ...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found