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

Does not work in linux system #64

Closed
aartidalvi opened this issue Aug 22, 2017 · 7 comments
Closed

Does not work in linux system #64

aartidalvi opened this issue Aug 22, 2017 · 7 comments

Comments

@aartidalvi
Copy link

I faced this error :

Error: Exited with code 3
at ChildProcess.cp.once.code (/etc/nginx/node_modules/opn/index.js:82:13)
at ChildProcess.g (events.js:292:16)
at emitTwo (events.js:106:13)
at ChildProcess.emit (events.js:191:7)
at maybeClose (internal/child_process.js:891:16)
at Socket. (internal/child_process.js:342:11)
at emitOne (events.js:96:13)
at Socket.emit (events.js:188:7)
at Pipe._handle.close [as _onclose] (net.js:497:12)

@kevva
Copy link

kevva commented Aug 22, 2017

What command are you trying to run? It seems like your program exited with code 3.

@henvic
Copy link

henvic commented Aug 22, 2017

Maybe he is talking about the weird Windows Subsystem for Linux.

Windows Subsystem for Linux https://en.wikipedia.org/wiki/Windows_Subsystem_for_Linux

@Surfoo
Copy link

Surfoo commented Sep 18, 2017

Hello,
I have the same issue when I want to bootstrap a project with vue-cli on Linux :

`
Listening at http://localhost:8080

/media/nfs/data/web/www/node_modules/opn/xdg-open [ 'http://localhost:8080' ] {} (console.log added here)
internal/child_process.js:325
throw errnoException(err, 'spawn');
^

Error: spawn EACCES
at _errnoException (util.js:1026:11)
at ChildProcess.spawn (internal/child_process.js:325:11)
at Object.exports.spawn (child_process.js:493:9)
at module.exports (/media/nfs/data/web/www/node_modules/opn/index.js:76:27)
at devMiddleware.waitUntilValid (/media/nfs/data/web/www/build/dev-server.js:78:5)
at continueBecauseBundleAvailable (/media/nfs/data/web/www/node_modules/webpack-dev-middleware/lib/Shared.js:139:6)
at Array.forEach ()
at /media/nfs/data/web/www/node_modules/webpack-dev-middleware/lib/Shared.js:138:9
at _combinedTickCallback (internal/process/next_tick.js:131:7)
at process._tickCallback (internal/process/next_tick.js:180:9)
npm ERR! code ELIFECYCLE
npm ERR! errno 1
npm ERR! project@1.0.0 dev: node build/dev-server.js
npm ERR! Exit status 1
npm ERR!
npm ERR! Failed at the project@1.0.0 dev 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! /home/user/.npm/_logs/2017-09-18T21_05_12_611Z-debug.log
`

@kevva
Copy link

kevva commented Sep 18, 2017

@Surfoo, you don't have permissions to run the binary. With what npm version did you install this module? Could be related to #70.

@Surfoo
Copy link

Surfoo commented Sep 18, 2017

Hum, I used the version 5.3.0. I just updated npm and it works! Thank you @kevva.

@kevva
Copy link

kevva commented Sep 18, 2017

@aartidalvi, do you still see this issue?

@aartidalvi
Copy link
Author

aartidalvi commented Sep 19, 2017 via email

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

5 participants