Skip to content

[WSL] Error: spawn cmd.exe ENOENT #4125

Closed
@marxangels

Description

@marxangels

Version

3.5.3

Reproduction link

https://github.com/PanJiaChen/vue-element-admin

Environment info

Win10 Sub Linux ( Ubuntu )

Steps to reproduce

yarn install

./node_modules/.bin/vue-cli-service serve

What is expected?

without error

What is actually happening?

$ ./node_modules/.bin/vue-cli-service serve

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

Error: spawn cmd.exe ENOENT
at _errnoException (util.js:1022:11)
at Process.ChildProcess._handle.onexit (internal/child_process.js:190:19)
at onErrorNT (internal/child_process.js:372:16)
at _combinedTickCallback (internal/process/next_tick.js:138:11)
at process._tickCallback (internal/process/next_tick.js:180:9)

Metadata

Metadata

Assignees

No one assigned

    Labels

    needs team reproWe acknowledged your report and will soon try to reproduce it

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions