chunky
chunky copied to clipboard
Error: spawn npm ENOENT on Windows
Environment
OS: Windows 10 Enterprise Shell: Command Prompt
Steps to Reproduce
> chunky init --name myapp
Expected Result
A new chunky project is generated.
Actual Result
➡ [1/4] Creating a new Chunky app
✔ ↳ Using default template
✔ ↳ Found template.
➡ [2/4] Downloading template
✔ ↳ Download complete.
➡ [3/4] Configuring your new Chunky app
✔ ↳ Successfully configured.
➡ [4/4] Installing dependencies (this might take a while)
events.js:160
throw er; // Unhandled 'error' event
^
Error: spawn npm ENOENT
at exports._errnoException (util.js:1018:11)
at Process.ChildProcess._handle.onexit (internal/child_process.js:193:32)
at onErrorNT (internal/child_process.js:367:16)
at _combinedTickCallback (internal/process/next_tick.js:80:11)
at process._tickCallback (internal/process/next_tick.js:104:9)