We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
Given:
When:
yarn install
yarn start
Then:
events.js:298 throw er; // Unhandled 'error' event ^ Error: spawn cmd.exe ENOENT at Process.ChildProcess._handle.onexit (internal/child_process.js:267:19) at onErrorNT (internal/child_process.js:467: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:467:16) at processTicksAndRejections (internal/process/task_queues.js:84:21) { errno: -2, code: 'ENOENT', syscall: 'spawn cmd.exe', path: 'cmd.exe', spawnargs: [ '/s', '/c', 'start', '""', '/b', '"http://localhost:3000/"' ] } error Command failed with exit code 1. info Visit https://yarnpkg.com/en/docs/cli/run for documentation about this command.
Note This works perfectly fine with npm
npm
Command
What is the current behavior? Fails because it tries to spawn cmd.exe
cmd.exe
What is the expected behavior? Should be spawning sh instead (or the defined shell)
sh
Steps to Reproduce See description.
Environment
13.8.0
1.21.1
The text was updated successfully, but these errors were encountered:
No branches or pull requests
Bug description
Given:
When:
yarn install
yarn start
Then:
Note
This works perfectly fine with
npm
Command
What is the current behavior?
Fails because it tries to spawn
cmd.exe
What is the expected behavior?
Should be spawning
sh
instead (or the defined shell)Steps to Reproduce
See description.
Environment
13.8.0
1.21.1
The text was updated successfully, but these errors were encountered: