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

Unhandled 'error' event #167

Closed
nmganesh opened this issue Jun 16, 2016 · 5 comments
Closed

Unhandled 'error' event #167

nmganesh opened this issue Jun 16, 2016 · 5 comments

Comments

@nmganesh
Copy link

Node version:6.2.1

npm version:3.9.3

Operating system:Windows

Command line used:npm start

Steps to reproduce:

[BS] Serving files from: src

npm-debug.txt
[BS] Watching files...
events.js:160
throw er; // Unhandled 'error' event
^

Error: spawn cmd ENOENT
at exports._errnoException (util.js:1007: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._tickDomainCallback (internal/process/next_tick.js:122:9)

@coryhouse
Copy link
Owner

Node 6 has issues on Windows. I suggest installing 5.11.1

@nmganesh
Copy link
Author

Thanks for immediate response. I was able to use the startup kit you had for Pluralsight course fine without any issues though.

Thanks,

Ganesh

On Jun 16, 2016, at 6:05 PM, Cory House notifications@github.com wrote:

Node 6 has issues on Windows. I suggest installing 5.11.1


You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub, or mute the thread.

@coryhouse
Copy link
Owner

Hrmm. Interesting. Perhaps this would help? http://stackoverflow.com/questions/27688804/how-do-i-debug-error-spawn-enoent-on-node-js

@tfak
Copy link

tfak commented Jan 4, 2019

Unhandled 'error' event #167

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

Error: EPERM: operation not permitted, lstat 'F:\tf\android\app\build\generated\source\r\debug\android\arch\core\R.java'
Emitted 'error' event at:
at NodeWatcher. (F:\tf\node_modules\sane\src\node_watcher.js:306:14)
at F:\tf\node_modules\graceful-fs\polyfills.js:282:31
at FSReqWrap.oncomplete (fs.js:154:21)
npm ERR! code ELIFECYCLE
npm ERR! errno 1
npm ERR! Tf@0.0.1 start: node node_modules/react-native/local-cli/cli.js start
npm ERR! Exit status 1
npm ERR!
npm ERR! Failed at the Tf@0.0.1 start script.
npm ERR! This is probably not a problem with npm. There is likely additional logging output above.

npm ERR! A complete log of this run can be found in:
npm ERR! C:\Users\Tf\AppData\Roaming\npm-cache_logs\2019-01-04T07_43_17_428Z-debug.log

F:\tf>npm -v
6.5.0

F:\tf>node -v
v10.15.0

@faraz08
Copy link

faraz08 commented Oct 24, 2019

did you found the solution i am also facing the same issue

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

4 participants