-
Notifications
You must be signed in to change notification settings - Fork 11.9k

Description
Bug Report or Feature Request (mark with an x
)
- [ ×] bug report -> please search issues before submitting
- [ ] feature request
Command (mark with an x
)
- [x ] new
- [ ] build
- [ ] serve
- [ ] test
- [ ] e2e
- [ ] generate
- [ ] add
- [ ] update
- [ ] lint
- [ ] xi18n
- [ ] run
- [ ] config
- [ ] help
- [ ] version
- [ ] doc
Versions
node -- v8.12.0;
npm --6.4.1;
ng --7.0.2;
Windows (10)
Repro steps
The log given by the failure
E:>ng new kl
? Would you like to add Angular routing? Yes
? Which stylesheet format would you like to use? SCSS [ http://sass-lang.com ]
CREATE kl/angular.json (3823 bytes)
CREATE kl/package.json (1309 bytes)
CREATE kl/README.md (1019 bytes)
CREATE kl/tsconfig.json (408 bytes)
CREATE kl/tslint.json (2837 bytes)
CREATE kl/.editorconfig (245 bytes)
CREATE kl/.gitignore (503 bytes)
CREATE kl/src/favicon.ico (5430 bytes)
CREATE kl/src/index.html (289 bytes)
CREATE kl/src/main.ts (372 bytes)
CREATE kl/src/polyfills.ts (3234 bytes)
CREATE kl/src/test.ts (642 bytes)
CREATE kl/src/styles.scss (80 bytes)
CREATE kl/src/browserslist (388 bytes)
CREATE kl/src/karma.conf.js (964 bytes)
CREATE kl/src/tsconfig.app.json (166 bytes)
CREATE kl/src/tsconfig.spec.json (256 bytes)
CREATE kl/src/tslint.json (314 bytes)
CREATE kl/src/assets/.gitkeep (0 bytes)
CREATE kl/src/environments/environment.prod.ts (51 bytes)
CREATE kl/src/environments/environment.ts (662 bytes)
CREATE kl/src/app/app-routing.module.ts (245 bytes)
CREATE kl/src/app/app.module.ts (393 bytes)
CREATE kl/src/app/app.component.html (1173 bytes)
CREATE kl/src/app/app.component.spec.ts (1083 bytes)
CREATE kl/src/app/app.component.ts (207 bytes)
CREATE kl/src/app/app.component.scss (0 bytes)
CREATE kl/e2e/protractor.conf.js (752 bytes)
CREATE kl/e2e/tsconfig.e2e.json (213 bytes)
CREATE kl/e2e/src/app.e2e-spec.ts (298 bytes)
CREATE kl/e2e/src/app.po.ts (208 bytes)
events.js:183
throw er; // Unhandled 'error' event
^
Error: spawn C:\Windows\system32\cmd.exe ENOENT
at Process.ChildProcess._handle.onexit (internal/child_process.js:190:19)
at onErrorNT (internal/child_process.js:362:16)
at _combinedTickCallback (internal/process/next_tick.js:139:11)
at process._tickCallback (internal/process/next_tick.js:181:9)