-
Notifications
You must be signed in to change notification settings - Fork 12k
Ng new command throwing error #12924
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Comments
Duplicate of #12670 |
@alan-agius4 The error got fixed but I am now getting the error of tarball being corrupted, I tried create a new app within the new sub directory of the drive. Here is the brief log `npm WARN tarball tarball data for @ngtools/[email protected] (sha512-KARXUp1SCg6TNGH npm ERR! A complete log of this run can be found in: Please guide me to fix this |
Same Error as Above. |
This issue has been automatically locked due to inactivity. Read more about our automatic conversation locking policy. This action has been performed automatically by a bot. |
Bug Report or Feature Request (mark with an
x
)Command (mark with an
x
)Versions
node --version
v10.13.0
npm --version
6.4.1
ng --version
Angular CLI: 7.0.5
Node: 10.13.0
OS: win32 x64
Angular:
...
Package Version
@angular-devkit/architect 0.10.5
@angular-devkit/core 7.0.5
@angular-devkit/schematics 7.0.5
@schematics/angular 7.0.5
@schematics/update 0.10.5
rxjs 6.3.3
typescript 3.1.6
OS- Windows 7
Repro steps
I ran the "ng new myworkspace" command
The log given by the failure
I got the following log in command prompt terminal-
CREATE myworkspace/e2e/src/app.po.ts (208 bytes)
events.js:167
throw er; // Unhandled 'error' event
^
Error: spawn C:\Windows\system32\cmd.exe ENOENT
at Process.ChildProcess._handle.onexit (internal/child_process.js:232:19)
at onErrorNT (internal/child_process.js:407:16)
at process._tickCallback (internal/process/next_tick.js:63:19)
Emitted 'error' event at:
at Process.ChildProcess._handle.onexit (internal/child_process.js:238:12)
at onErrorNT (internal/child_process.js:407:16)
at process._tickCallback (internal/process/next_tick.js:63:19)
Desired functionality
I would like to create a new workspace/app
Mention any other details that might be useful
None in mind for now
The text was updated successfully, but these errors were encountered: