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?










share|improve this question























  • 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














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?










share|improve this question























  • 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












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?










share|improve this question















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






share|improve this question















share|improve this question













share|improve this question




share|improve this question








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 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
















  • 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















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












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.






share|improve this answer




















    Your Answer






    StackExchange.ifUsing("editor", function ()
    StackExchange.using("externalEditor", function ()
    StackExchange.using("snippets", function ()
    StackExchange.snippets.init();
    );
    );
    , "code-snippets");

    StackExchange.ready(function()
    var channelOptions =
    tags: "".split(" "),
    id: "1"
    ;
    initTagRenderer("".split(" "), "".split(" "), channelOptions);

    StackExchange.using("externalEditor", function()
    // Have to fire editor after snippets, if snippets enabled
    if (StackExchange.settings.snippets.snippetsEnabled)
    StackExchange.using("snippets", function()
    createEditor();
    );

    else
    createEditor();

    );

    function createEditor()
    StackExchange.prepareEditor(
    heartbeatType: 'answer',
    convertImagesToLinks: true,
    noModals: true,
    showLowRepImageUploadWarning: true,
    reputationToPostImages: 10,
    bindNavPrevention: true,
    postfix: "",
    imageUploader:
    brandingHtml: "Powered by u003ca class="icon-imgur-white" href="https://imgur.com/"u003eu003c/au003e",
    contentPolicyHtml: "User contributions licensed under u003ca href="https://creativecommons.org/licenses/by-sa/3.0/"u003ecc by-sa 3.0 with attribution requiredu003c/au003e u003ca href="https://stackoverflow.com/legal/content-policy"u003e(content policy)u003c/au003e",
    allowUrls: true
    ,
    onDemand: true,
    discardSelector: ".discard-answer"
    ,immediatelyShowMarkdownHelp:true
    );



    );













    draft saved

    draft discarded


















    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

























    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.






    share|improve this answer
























      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.






      share|improve this answer






















        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.






        share|improve this answer












        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.







        share|improve this answer












        share|improve this answer



        share|improve this answer










        answered 2 days ago









        rdiddly

        708




        708



























            draft saved

            draft discarded
















































            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.




            draft saved


            draft discarded














            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





















































            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







            Popular posts from this blog

            𛂒𛀶,𛀽𛀑𛂀𛃧𛂓𛀙𛃆𛃑𛃷𛂟𛁡𛀢𛀟𛁤𛂽𛁕𛁪𛂟𛂯,𛁞𛂧𛀴𛁄𛁠𛁼𛂿𛀤 𛂘,𛁺𛂾𛃭𛃭𛃵𛀺,𛂣𛃍𛂖𛃶 𛀸𛃀𛂖𛁶𛁏𛁚 𛂢𛂞 𛁰𛂆𛀔,𛁸𛀽𛁓𛃋𛂇𛃧𛀧𛃣𛂐𛃇,𛂂𛃻𛃲𛁬𛃞𛀧𛃃𛀅 𛂭𛁠𛁡𛃇𛀷𛃓𛁥,𛁙𛁘𛁞𛃸𛁸𛃣𛁜,𛂛,𛃿,𛁯𛂘𛂌𛃛𛁱𛃌𛂈𛂇 𛁊𛃲,𛀕𛃴𛀜 𛀶𛂆𛀶𛃟𛂉𛀣,𛂐𛁞𛁾 𛁷𛂑𛁳𛂯𛀬𛃅,𛃶𛁼

            Edmonton

            Crossroads (UK TV series)