Can't create a Project with Angular CLI
up vote
0
down vote
favorite
A few days ago I created a new project with Angular CLI and everything worked fine. I'm not able to create any new project now. Below is the error logs in cmd:
c:UsersJesperDesktop>ng new mytestapp
? Would you like to add Angular routing? Yes
? Which stylesheet format would you like to use? CSS
CREATE mytestapp/angular.json (3795 bytes)
CREATE mytestapp/package.json (1316 bytes)
CREATE mytestapp/README.md (1026 bytes)
CREATE mytestapp/tsconfig.json (408 bytes)
CREATE mytestapp/tslint.json (2837 bytes)
CREATE mytestapp/.editorconfig (245 bytes)
CREATE mytestapp/.gitignore (503 bytes)
CREATE mytestapp/src/favicon.ico (5430 bytes)
CREATE mytestapp/src/index.html (296 bytes)
CREATE mytestapp/src/main.ts (372 bytes)
CREATE mytestapp/src/polyfills.ts (3234 bytes)
CREATE mytestapp/src/test.ts (642 bytes)
CREATE mytestapp/src/styles.css (80 bytes)
CREATE mytestapp/src/browserslist (388 bytes)
CREATE mytestapp/src/karma.conf.js (964 bytes)
CREATE mytestapp/src/tsconfig.app.json (166 bytes)
CREATE mytestapp/src/tsconfig.spec.json (256 bytes)
CREATE mytestapp/src/tslint.json (314 bytes)
CREATE mytestapp/src/assets/.gitkeep (0 bytes)
CREATE mytestapp/src/environments/environment.prod.ts (51 bytes)
CREATE mytestapp/src/environments/environment.ts (662 bytes)
CREATE mytestapp/src/app/app-routing.module.ts (245 bytes)
CREATE mytestapp/src/app/app.module.ts (393 bytes)
CREATE mytestapp/src/app/app.component.html (1173 bytes)
CREATE mytestapp/src/app/app.component.spec.ts (1104 bytes)
CREATE mytestapp/src/app/app.component.ts (213 bytes)
CREATE mytestapp/src/app/app.component.css (0 bytes)
CREATE mytestapp/e2e/protractor.conf.js (752 bytes)
CREATE mytestapp/e2e/tsconfig.e2e.json (213 bytes)
CREATE mytestapp/e2e/src/app.e2e-spec.ts (305 bytes)
CREATE mytestapp/e2e/src/app.po.ts (208 bytes)
npm WARN deprecated circular-json@0.5.9: CircularJSON is in maintenance only, flatted is its successor.
npm ERR! code ETARGET
npm ERR! notarget No matching version found for @schematics/update@0.10.5
npm ERR! notarget In most cases you or one of your dependencies are requesting
npm ERR! notarget a package version that doesn't exist.
npm ERR! notarget
npm ERR! notarget It was specified as a dependency of '@angular/cli'
npm ERR! notarget
npm ERR! A complete log of this run can be found in:
npm ERR! C:UsersJesperAppDataRoamingnpm-cache_logs2018-11-09T00_31_49_304Z-debug.log
Package install failed, see above.
Here is the output from ng version
:
Angular CLI: 7.0.4
Node: 10.13.0
OS: win32 x64
Angular:
...
Package Version
------------------------------------------------------
@angular-devkit/architect 0.10.4
@angular-devkit/core 7.0.4
@angular-devkit/schematics 7.0.4
@schematics/angular 7.0.4
@schematics/update 0.10.4
rxjs 6.3.3
typescript 3.1.3
How come this problem has occurred suddenly and how do I fix it?
angular angular-cli
|
show 2 more comments
up vote
0
down vote
favorite
A few days ago I created a new project with Angular CLI and everything worked fine. I'm not able to create any new project now. Below is the error logs in cmd:
c:UsersJesperDesktop>ng new mytestapp
? Would you like to add Angular routing? Yes
? Which stylesheet format would you like to use? CSS
CREATE mytestapp/angular.json (3795 bytes)
CREATE mytestapp/package.json (1316 bytes)
CREATE mytestapp/README.md (1026 bytes)
CREATE mytestapp/tsconfig.json (408 bytes)
CREATE mytestapp/tslint.json (2837 bytes)
CREATE mytestapp/.editorconfig (245 bytes)
CREATE mytestapp/.gitignore (503 bytes)
CREATE mytestapp/src/favicon.ico (5430 bytes)
CREATE mytestapp/src/index.html (296 bytes)
CREATE mytestapp/src/main.ts (372 bytes)
CREATE mytestapp/src/polyfills.ts (3234 bytes)
CREATE mytestapp/src/test.ts (642 bytes)
CREATE mytestapp/src/styles.css (80 bytes)
CREATE mytestapp/src/browserslist (388 bytes)
CREATE mytestapp/src/karma.conf.js (964 bytes)
CREATE mytestapp/src/tsconfig.app.json (166 bytes)
CREATE mytestapp/src/tsconfig.spec.json (256 bytes)
CREATE mytestapp/src/tslint.json (314 bytes)
CREATE mytestapp/src/assets/.gitkeep (0 bytes)
CREATE mytestapp/src/environments/environment.prod.ts (51 bytes)
CREATE mytestapp/src/environments/environment.ts (662 bytes)
CREATE mytestapp/src/app/app-routing.module.ts (245 bytes)
CREATE mytestapp/src/app/app.module.ts (393 bytes)
CREATE mytestapp/src/app/app.component.html (1173 bytes)
CREATE mytestapp/src/app/app.component.spec.ts (1104 bytes)
CREATE mytestapp/src/app/app.component.ts (213 bytes)
CREATE mytestapp/src/app/app.component.css (0 bytes)
CREATE mytestapp/e2e/protractor.conf.js (752 bytes)
CREATE mytestapp/e2e/tsconfig.e2e.json (213 bytes)
CREATE mytestapp/e2e/src/app.e2e-spec.ts (305 bytes)
CREATE mytestapp/e2e/src/app.po.ts (208 bytes)
npm WARN deprecated circular-json@0.5.9: CircularJSON is in maintenance only, flatted is its successor.
npm ERR! code ETARGET
npm ERR! notarget No matching version found for @schematics/update@0.10.5
npm ERR! notarget In most cases you or one of your dependencies are requesting
npm ERR! notarget a package version that doesn't exist.
npm ERR! notarget
npm ERR! notarget It was specified as a dependency of '@angular/cli'
npm ERR! notarget
npm ERR! A complete log of this run can be found in:
npm ERR! C:UsersJesperAppDataRoamingnpm-cache_logs2018-11-09T00_31_49_304Z-debug.log
Package install failed, see above.
Here is the output from ng version
:
Angular CLI: 7.0.4
Node: 10.13.0
OS: win32 x64
Angular:
...
Package Version
------------------------------------------------------
@angular-devkit/architect 0.10.4
@angular-devkit/core 7.0.4
@angular-devkit/schematics 7.0.4
@schematics/angular 7.0.4
@schematics/update 0.10.4
rxjs 6.3.3
typescript 3.1.3
How come this problem has occurred suddenly and how do I fix it?
angular angular-cli
Is angular-cli installed globally?
– Kai
Nov 9 at 0:42
@Kai I typednpm list -g
in cmd and I found@angular/cli@7.0.4
in the list, so it seems like it is?
– Jesper
Nov 9 at 1:05
Are there any package.json or other Angular files in the folder you are in (desktop)?
– DeborahK
Nov 9 at 1:12
@DeborahK The node_modules folder is at C:UsersJesperAppDataRoamingnpmnode_modules. Inside this folder, there is no package.json, but there is one at@angular/cli/package.json
.
– Jesper
Nov 9 at 1:27
Possible duplicate of Angular CLI can't create a new project
– Abhinav
Nov 9 at 2:46
|
show 2 more comments
up vote
0
down vote
favorite
up vote
0
down vote
favorite
A few days ago I created a new project with Angular CLI and everything worked fine. I'm not able to create any new project now. Below is the error logs in cmd:
c:UsersJesperDesktop>ng new mytestapp
? Would you like to add Angular routing? Yes
? Which stylesheet format would you like to use? CSS
CREATE mytestapp/angular.json (3795 bytes)
CREATE mytestapp/package.json (1316 bytes)
CREATE mytestapp/README.md (1026 bytes)
CREATE mytestapp/tsconfig.json (408 bytes)
CREATE mytestapp/tslint.json (2837 bytes)
CREATE mytestapp/.editorconfig (245 bytes)
CREATE mytestapp/.gitignore (503 bytes)
CREATE mytestapp/src/favicon.ico (5430 bytes)
CREATE mytestapp/src/index.html (296 bytes)
CREATE mytestapp/src/main.ts (372 bytes)
CREATE mytestapp/src/polyfills.ts (3234 bytes)
CREATE mytestapp/src/test.ts (642 bytes)
CREATE mytestapp/src/styles.css (80 bytes)
CREATE mytestapp/src/browserslist (388 bytes)
CREATE mytestapp/src/karma.conf.js (964 bytes)
CREATE mytestapp/src/tsconfig.app.json (166 bytes)
CREATE mytestapp/src/tsconfig.spec.json (256 bytes)
CREATE mytestapp/src/tslint.json (314 bytes)
CREATE mytestapp/src/assets/.gitkeep (0 bytes)
CREATE mytestapp/src/environments/environment.prod.ts (51 bytes)
CREATE mytestapp/src/environments/environment.ts (662 bytes)
CREATE mytestapp/src/app/app-routing.module.ts (245 bytes)
CREATE mytestapp/src/app/app.module.ts (393 bytes)
CREATE mytestapp/src/app/app.component.html (1173 bytes)
CREATE mytestapp/src/app/app.component.spec.ts (1104 bytes)
CREATE mytestapp/src/app/app.component.ts (213 bytes)
CREATE mytestapp/src/app/app.component.css (0 bytes)
CREATE mytestapp/e2e/protractor.conf.js (752 bytes)
CREATE mytestapp/e2e/tsconfig.e2e.json (213 bytes)
CREATE mytestapp/e2e/src/app.e2e-spec.ts (305 bytes)
CREATE mytestapp/e2e/src/app.po.ts (208 bytes)
npm WARN deprecated circular-json@0.5.9: CircularJSON is in maintenance only, flatted is its successor.
npm ERR! code ETARGET
npm ERR! notarget No matching version found for @schematics/update@0.10.5
npm ERR! notarget In most cases you or one of your dependencies are requesting
npm ERR! notarget a package version that doesn't exist.
npm ERR! notarget
npm ERR! notarget It was specified as a dependency of '@angular/cli'
npm ERR! notarget
npm ERR! A complete log of this run can be found in:
npm ERR! C:UsersJesperAppDataRoamingnpm-cache_logs2018-11-09T00_31_49_304Z-debug.log
Package install failed, see above.
Here is the output from ng version
:
Angular CLI: 7.0.4
Node: 10.13.0
OS: win32 x64
Angular:
...
Package Version
------------------------------------------------------
@angular-devkit/architect 0.10.4
@angular-devkit/core 7.0.4
@angular-devkit/schematics 7.0.4
@schematics/angular 7.0.4
@schematics/update 0.10.4
rxjs 6.3.3
typescript 3.1.3
How come this problem has occurred suddenly and how do I fix it?
angular angular-cli
A few days ago I created a new project with Angular CLI and everything worked fine. I'm not able to create any new project now. Below is the error logs in cmd:
c:UsersJesperDesktop>ng new mytestapp
? Would you like to add Angular routing? Yes
? Which stylesheet format would you like to use? CSS
CREATE mytestapp/angular.json (3795 bytes)
CREATE mytestapp/package.json (1316 bytes)
CREATE mytestapp/README.md (1026 bytes)
CREATE mytestapp/tsconfig.json (408 bytes)
CREATE mytestapp/tslint.json (2837 bytes)
CREATE mytestapp/.editorconfig (245 bytes)
CREATE mytestapp/.gitignore (503 bytes)
CREATE mytestapp/src/favicon.ico (5430 bytes)
CREATE mytestapp/src/index.html (296 bytes)
CREATE mytestapp/src/main.ts (372 bytes)
CREATE mytestapp/src/polyfills.ts (3234 bytes)
CREATE mytestapp/src/test.ts (642 bytes)
CREATE mytestapp/src/styles.css (80 bytes)
CREATE mytestapp/src/browserslist (388 bytes)
CREATE mytestapp/src/karma.conf.js (964 bytes)
CREATE mytestapp/src/tsconfig.app.json (166 bytes)
CREATE mytestapp/src/tsconfig.spec.json (256 bytes)
CREATE mytestapp/src/tslint.json (314 bytes)
CREATE mytestapp/src/assets/.gitkeep (0 bytes)
CREATE mytestapp/src/environments/environment.prod.ts (51 bytes)
CREATE mytestapp/src/environments/environment.ts (662 bytes)
CREATE mytestapp/src/app/app-routing.module.ts (245 bytes)
CREATE mytestapp/src/app/app.module.ts (393 bytes)
CREATE mytestapp/src/app/app.component.html (1173 bytes)
CREATE mytestapp/src/app/app.component.spec.ts (1104 bytes)
CREATE mytestapp/src/app/app.component.ts (213 bytes)
CREATE mytestapp/src/app/app.component.css (0 bytes)
CREATE mytestapp/e2e/protractor.conf.js (752 bytes)
CREATE mytestapp/e2e/tsconfig.e2e.json (213 bytes)
CREATE mytestapp/e2e/src/app.e2e-spec.ts (305 bytes)
CREATE mytestapp/e2e/src/app.po.ts (208 bytes)
npm WARN deprecated circular-json@0.5.9: CircularJSON is in maintenance only, flatted is its successor.
npm ERR! code ETARGET
npm ERR! notarget No matching version found for @schematics/update@0.10.5
npm ERR! notarget In most cases you or one of your dependencies are requesting
npm ERR! notarget a package version that doesn't exist.
npm ERR! notarget
npm ERR! notarget It was specified as a dependency of '@angular/cli'
npm ERR! notarget
npm ERR! A complete log of this run can be found in:
npm ERR! C:UsersJesperAppDataRoamingnpm-cache_logs2018-11-09T00_31_49_304Z-debug.log
Package install failed, see above.
Here is the output from ng version
:
Angular CLI: 7.0.4
Node: 10.13.0
OS: win32 x64
Angular:
...
Package Version
------------------------------------------------------
@angular-devkit/architect 0.10.4
@angular-devkit/core 7.0.4
@angular-devkit/schematics 7.0.4
@schematics/angular 7.0.4
@schematics/update 0.10.4
rxjs 6.3.3
typescript 3.1.3
How come this problem has occurred suddenly and how do I fix it?
angular angular-cli
angular angular-cli
edited Nov 9 at 9:49
AIqbalRaj
1,0362518
1,0362518
asked Nov 9 at 0:38
Jesper
635724
635724
Is angular-cli installed globally?
– Kai
Nov 9 at 0:42
@Kai I typednpm list -g
in cmd and I found@angular/cli@7.0.4
in the list, so it seems like it is?
– Jesper
Nov 9 at 1:05
Are there any package.json or other Angular files in the folder you are in (desktop)?
– DeborahK
Nov 9 at 1:12
@DeborahK The node_modules folder is at C:UsersJesperAppDataRoamingnpmnode_modules. Inside this folder, there is no package.json, but there is one at@angular/cli/package.json
.
– Jesper
Nov 9 at 1:27
Possible duplicate of Angular CLI can't create a new project
– Abhinav
Nov 9 at 2:46
|
show 2 more comments
Is angular-cli installed globally?
– Kai
Nov 9 at 0:42
@Kai I typednpm list -g
in cmd and I found@angular/cli@7.0.4
in the list, so it seems like it is?
– Jesper
Nov 9 at 1:05
Are there any package.json or other Angular files in the folder you are in (desktop)?
– DeborahK
Nov 9 at 1:12
@DeborahK The node_modules folder is at C:UsersJesperAppDataRoamingnpmnode_modules. Inside this folder, there is no package.json, but there is one at@angular/cli/package.json
.
– Jesper
Nov 9 at 1:27
Possible duplicate of Angular CLI can't create a new project
– Abhinav
Nov 9 at 2:46
Is angular-cli installed globally?
– Kai
Nov 9 at 0:42
Is angular-cli installed globally?
– Kai
Nov 9 at 0:42
@Kai I typed
npm list -g
in cmd and I found @angular/cli@7.0.4
in the list, so it seems like it is?– Jesper
Nov 9 at 1:05
@Kai I typed
npm list -g
in cmd and I found @angular/cli@7.0.4
in the list, so it seems like it is?– Jesper
Nov 9 at 1:05
Are there any package.json or other Angular files in the folder you are in (desktop)?
– DeborahK
Nov 9 at 1:12
Are there any package.json or other Angular files in the folder you are in (desktop)?
– DeborahK
Nov 9 at 1:12
@DeborahK The node_modules folder is at C:UsersJesperAppDataRoamingnpmnode_modules. Inside this folder, there is no package.json, but there is one at
@angular/cli/package.json
.– Jesper
Nov 9 at 1:27
@DeborahK The node_modules folder is at C:UsersJesperAppDataRoamingnpmnode_modules. Inside this folder, there is no package.json, but there is one at
@angular/cli/package.json
.– Jesper
Nov 9 at 1:27
Possible duplicate of Angular CLI can't create a new project
– Abhinav
Nov 9 at 2:46
Possible duplicate of Angular CLI can't create a new project
– Abhinav
Nov 9 at 2:46
|
show 2 more comments
1 Answer
1
active
oldest
votes
up vote
0
down vote
I just had a similar problem, only in my case, the process froze following the circular-son download. I killed it and ran it again and it worked fine.
add a comment |
1 Answer
1
active
oldest
votes
1 Answer
1
active
oldest
votes
active
oldest
votes
active
oldest
votes
up vote
0
down vote
I just had a similar problem, only in my case, the process froze following the circular-son download. I killed it and ran it again and it worked fine.
add a comment |
up vote
0
down vote
I just had a similar problem, only in my case, the process froze following the circular-son download. I killed it and ran it again and it worked fine.
add a comment |
up vote
0
down vote
up vote
0
down vote
I just had a similar problem, only in my case, the process froze following the circular-son download. I killed it and ran it again and it worked fine.
I just had a similar problem, only in my case, the process froze following the circular-son download. I killed it and ran it again and it worked fine.
answered 2 days ago
rdiddly
708
708
add a comment |
add a comment |
Thanks for contributing an answer to Stack Overflow!
- Please be sure to answer the question. Provide details and share your research!
But avoid …
- Asking for help, clarification, or responding to other answers.
- Making statements based on opinion; back them up with references or personal experience.
To learn more, see our tips on writing great answers.
Some of your past answers have not been well-received, and you're in danger of being blocked from answering.
Please pay close attention to the following guidance:
- Please be sure to answer the question. Provide details and share your research!
But avoid …
- Asking for help, clarification, or responding to other answers.
- Making statements based on opinion; back them up with references or personal experience.
To learn more, see our tips on writing great answers.
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
StackExchange.ready(
function ()
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2fstackoverflow.com%2fquestions%2f53218210%2fcant-create-a-project-with-angular-cli%23new-answer', 'question_page');
);
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Is angular-cli installed globally?
– Kai
Nov 9 at 0:42
@Kai I typed
npm list -g
in cmd and I found@angular/cli@7.0.4
in the list, so it seems like it is?– Jesper
Nov 9 at 1:05
Are there any package.json or other Angular files in the folder you are in (desktop)?
– DeborahK
Nov 9 at 1:12
@DeborahK The node_modules folder is at C:UsersJesperAppDataRoamingnpmnode_modules. Inside this folder, there is no package.json, but there is one at
@angular/cli/package.json
.– Jesper
Nov 9 at 1:27
Possible duplicate of Angular CLI can't create a new project
– Abhinav
Nov 9 at 2:46