express-js-bootstrap
express-js-bootstrap copied to clipboard
"Checking if npm is installed" is failing
🐛 Bug Report
When I run yo w-express-js I am getting an following error:
- Checking if npm is installedevents.js:287 throw er; // Unhandled 'error' event ^
Steps to Reproduce
OS: Windows 10 Pro Node.js: v12.16.3 NPM version: 6.14.4
Executing yo w-express-js
Expected behavior
Successful creation of Kickoff project
Full report
√ Checking if git is installed
- Checking if npm is installedevents.js:287 throw er; // Unhandled 'error' event ^
Error: spawn npm ENOENT at Process.ChildProcess._handle.onexit (internal/child_process.js:267:19) at onErrorNT (internal/child_process.js:469:16) Emitted 'error' event on ChildProcess instance at: at onErrorNT (internal/child_process.js:469:16) at processTicksAndRejections (internal/process/task_queues.js:84:21) { errno: 'ENOENT', code: 'ENOENT', syscall: 'spawn npm', path: 'npm', spawnargs: [ '--version' ] }