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

Error: spawn npx ENOENT #82

Closed
igoreskic-ws opened this issue Oct 19, 2020 · 1 comment
Closed

Error: spawn npx ENOENT #82

igoreskic-ws opened this issue Oct 19, 2020 · 1 comment

Comments

@igoreskic-ws
Copy link

Hello, I get this error with autoprefixer:

error: Autoprefixer
Error: events.js:292
throw er; // Unhandled 'error' event
^
Error: spawn npx ENOENT
at Process.ChildProcess._handle.onexit (internal/child_process.js:267:19)
at onErrorNT (internal/child_process.js:469:16)
at processTicksAndRejections (internal/process/task_queues.js:84:21)
Emitted 'error' event on ChildProcess instance at:
at Process.ChildProcess._handle.onexit (internal/child_process.js:273:12)
at onErrorNT (internal/child_process.js:469:16)
at processTicksAndRejections (internal/process/task_queues.js:84:21) {
errno: 'ENOENT',
code: 'ENOENT',
syscall: 'spawn npx',
path: 'npx',
spawnargs: [ 'browserslist@latest', '--update-db' ]
}

Last week I updated browsers list with npx browserslist@latest --update-db, everything worked fine.
Win10. Node version 12.18.1.

Any help much appreciated.

@ly20000814bx
Copy link

hello, Run the NPX browserslist@latest --update-db command ? Wouldn't you have reported the error?

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

2 participants