angular-cli icon indicating copy to clipboard operation
angular-cli copied to clipboard

I updated angular / cli 7.0.2 on windows 10 and an error occurred while creating a new project.

Open ghost opened this issue 8 years ago • 4 comments

E:>ng new aaa ? Would you like to add Angular routing? Yes ? Which stylesheet format would you like to use? CSS CREATE aaa/angular.json (3741 bytes) CREATE aaa/package.json (1310 bytes) CREATE aaa/README.md (1020 bytes) CREATE aaa/tsconfig.json (408 bytes) CREATE aaa/tslint.json (2837 bytes) CREATE aaa/.editorconfig (245 bytes) CREATE aaa/.gitignore (503 bytes) CREATE aaa/src/favicon.ico (5430 bytes) CREATE aaa/src/index.html (290 bytes) CREATE aaa/src/main.ts (372 bytes) CREATE aaa/src/polyfills.ts (3234 bytes) CREATE aaa/src/test.ts (642 bytes) CREATE aaa/src/styles.css (80 bytes) CREATE aaa/src/browserslist (388 bytes) CREATE aaa/src/karma.conf.js (964 bytes) CREATE aaa/src/tsconfig.app.json (166 bytes) CREATE aaa/src/tsconfig.spec.json (256 bytes) CREATE aaa/src/tslint.json (314 bytes) CREATE aaa/src/assets/.gitkeep (0 bytes) CREATE aaa/src/environments/environment.prod.ts (51 bytes) CREATE aaa/src/environments/environment.ts (662 bytes) CREATE aaa/src/app/app-routing.module.ts (245 bytes) CREATE aaa/src/app/app.module.ts (393 bytes) CREATE aaa/src/app/app.component.html (1173 bytes) CREATE aaa/src/app/app.component.spec.ts (1086 bytes) CREATE aaa/src/app/app.component.ts (207 bytes) CREATE aaa/src/app/app.component.css (0 bytes) CREATE aaa/e2e/protractor.conf.js (752 bytes) CREATE aaa/e2e/tsconfig.e2e.json (213 bytes) CREATE aaa/e2e/src/app.e2e-spec.ts (299 bytes) CREATE aaa/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)

ghost avatar Oct 20 '18 05:10 ghost

Not following template

alan-agius4 avatar Oct 20 '18 06:10 alan-agius4

@MangoWHL can you please create new issue and fill template issue correctly, thank you

elvisbegovic avatar Oct 20 '18 08:10 elvisbegovic

same error

snipaste_2018-10-22_09-21-37

jackywang615 avatar Oct 22 '18 01:10 jackywang615

This issue has been automatically locked due to inactivity. Please file a new issue if you are encountering a similar or related problem.

Read more about our automatic conversation locking policy.

This action has been performed automatically by a bot.