[Solved] Vue project Start Error: errno: – 4058, code: ‘enoent’, syscall: ‘spawn CMD’‘

An error is reported when running Vue project (NPM run DEV)

Errors are reported as follows

Cause of problem

Missing environment variable for CMD runtime

Solution:
Add C:\windows\system32 to the environment variable path

Similar Posts: