Skip to content

Error: spawn cmd.exe ENOENT using WSL since 9.0.0 #7251

Description

@simakas

Is this a bug report?

Yes

Did you try recovering your dependencies?

Yes

Which terms did you search for in User Guide?

cmd event.js ENOENT

Environment

OS: Linux 4.4 Ubuntu 18.04.1 LTS (Bionic Beaver)
CPU: (12) x64 Intel(R) Core(TM) i7-8850H CPU @ 2.60GHz
Binaries:
Node: 8.11.4 - ~/.nvm/versions/node/v8.11.4/bin/node
Yarn: 1.15.2 - ~/.yarn/bin/yarn
npm: 5.6.0 - ~/.nvm/versions/node/v8.11.4/bin/npm
Browsers:
Chrome: Not Found
Firefox: 64.0
npmPackages:
react: 16.8.6
react-dom: 16.8.6
react-scripts: 3.0.1
npmGlobalPackages:
create-react-app: Not Found

Steps to Reproduce

  1. react-dev-utils v 8.0.0
  2. Upgrade to v.9.0.0
  3. yarn install
  4. yarn start
  5. events.js:183
    throw er; // Unhandled 'error' event
    ^
    Error: spawn cmd.exe ENOENT

Expected Behavior

app should start using v 9.0.0

Actual Behavior

image

Reproducible Demo

Simply run Ubuntu or other distro on Windows WSL, upgrade to 9.0.0, same is valid for any project I tried using v9.0.0.

Metadata

Metadata

Assignees

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions