you seem to not be depending on “@angular/core”. This is an error [closed]

The name of the pictureThe name of the pictureThe name of the pictureClash Royale CLAN TAG#URR8PPP








up vote
0
down vote

favorite












I am getting below error while running the angular 4 project.



you seem to not be depending on "@angular/core". This is an error.


please find the below image for detail explaination:



Current versions:
Angular Cli : 1.7.3
Node : 8.10.0



enter image description here



I have tried this option:



rm -rf node_modules
rm package-lock.json
npm install


I am getting below error while running the above commands:



npm notice created a lockfile as package-lock.json. You should commit this file.
npm WARN @angular/material@5.2.4 requires a peer of @angular/core@^5.0.0 but none is installed. You must install peer dependencies yourself.
npm WARN @angular/material@5.2.4 requires a peer of @angular/common@^5.0.0 but none is installed. You must install peer dependencies yourself.
npm WARN @angular/cdk@5.2.4 requires a peer of @angular/core@^5.0.0 but none is installed. You must install peer dependencies yourself.
npm WARN @angular/cdk@5.2.4 requires a peer of @angular/common@^5.0.0 but none is installed. You must install peer dependencies yourself.
npm WARN @ng-bootstrap/ng-bootstrap@1.0.2 requires a peer of @angular/core@^5.0.2 but none is installed. You must install peer dependencies yourself.
npm WARN @ng-bootstrap/ng-bootstrap@1.0.2 requires a peer of @angular/common@^5.0.2 but none is installed. You must install peer dependencies yourself.
npm WARN @ng-bootstrap/ng-bootstrap@1.0.2 requires a peer of @angular/forms@^5.0.2 but none is installed. You must install peer dependencies yourself.
npm WARN @angular-devkit/schematics@0.0.52 requires a peer of @angular-devkit/core@0.0.29 but none is installed. You must install peer dependencies yourself.
npm WARN @schematics/angular@0.0.49 requires a peer of @angular-devkit/schematics@0.0.34 but none is installed. You must install peer dependencies yourself.
npm WARN ajv-keywords@3.1.0 requires a peer of ajv@^6.0.0 but none is installed. You must install peer dependencies yourself.
npm WARN optional SKIPPING OPTIONAL DEPENDENCY: fsevents@1.1.3 (node_modules/fsevents):
npm WARN notsup SKIPPING OPTIONAL DEPENDENCY: Unsupported platform for fsevents@1.1.3: wanted "os":"darwin","arch":"any" (current: "os":"linux","arch":"x64")









share|improve this question















closed as off-topic by fkraiem, Eric Carvalho, user117103, waltinator, eballeste Mar 26 at 23:29


This question appears to be off-topic. The users who voted to close gave this specific reason:


  • "This is not about Ubuntu. Questions about other Linux distributions can be asked on Unix & Linux, those about Windows on Super User, those about Apple products on Ask Different and generic programming questions on Stack Overflow." – fkraiem, Eric Carvalho, guntbert, waltinator, eballeste
If this question can be reworded to fit the rules in the help center, please edit the question.












  • @muru ok i have the added the image for detail explanation.
    – prashanth padala
    Mar 22 at 5:34










  • stackoverflow.com/questions/41534459/…
    – Panther
    Mar 22 at 6:16










  • I tried all the solution in that still not solved
    – prashanth padala
    Mar 22 at 6:24






  • 2




    update your question with everything that you tried =)
    – Panther
    Mar 22 at 6:25














up vote
0
down vote

favorite












I am getting below error while running the angular 4 project.



you seem to not be depending on "@angular/core". This is an error.


please find the below image for detail explaination:



Current versions:
Angular Cli : 1.7.3
Node : 8.10.0



enter image description here



I have tried this option:



rm -rf node_modules
rm package-lock.json
npm install


I am getting below error while running the above commands:



npm notice created a lockfile as package-lock.json. You should commit this file.
npm WARN @angular/material@5.2.4 requires a peer of @angular/core@^5.0.0 but none is installed. You must install peer dependencies yourself.
npm WARN @angular/material@5.2.4 requires a peer of @angular/common@^5.0.0 but none is installed. You must install peer dependencies yourself.
npm WARN @angular/cdk@5.2.4 requires a peer of @angular/core@^5.0.0 but none is installed. You must install peer dependencies yourself.
npm WARN @angular/cdk@5.2.4 requires a peer of @angular/common@^5.0.0 but none is installed. You must install peer dependencies yourself.
npm WARN @ng-bootstrap/ng-bootstrap@1.0.2 requires a peer of @angular/core@^5.0.2 but none is installed. You must install peer dependencies yourself.
npm WARN @ng-bootstrap/ng-bootstrap@1.0.2 requires a peer of @angular/common@^5.0.2 but none is installed. You must install peer dependencies yourself.
npm WARN @ng-bootstrap/ng-bootstrap@1.0.2 requires a peer of @angular/forms@^5.0.2 but none is installed. You must install peer dependencies yourself.
npm WARN @angular-devkit/schematics@0.0.52 requires a peer of @angular-devkit/core@0.0.29 but none is installed. You must install peer dependencies yourself.
npm WARN @schematics/angular@0.0.49 requires a peer of @angular-devkit/schematics@0.0.34 but none is installed. You must install peer dependencies yourself.
npm WARN ajv-keywords@3.1.0 requires a peer of ajv@^6.0.0 but none is installed. You must install peer dependencies yourself.
npm WARN optional SKIPPING OPTIONAL DEPENDENCY: fsevents@1.1.3 (node_modules/fsevents):
npm WARN notsup SKIPPING OPTIONAL DEPENDENCY: Unsupported platform for fsevents@1.1.3: wanted "os":"darwin","arch":"any" (current: "os":"linux","arch":"x64")









share|improve this question















closed as off-topic by fkraiem, Eric Carvalho, user117103, waltinator, eballeste Mar 26 at 23:29


This question appears to be off-topic. The users who voted to close gave this specific reason:


  • "This is not about Ubuntu. Questions about other Linux distributions can be asked on Unix & Linux, those about Windows on Super User, those about Apple products on Ask Different and generic programming questions on Stack Overflow." – fkraiem, Eric Carvalho, guntbert, waltinator, eballeste
If this question can be reworded to fit the rules in the help center, please edit the question.












  • @muru ok i have the added the image for detail explanation.
    – prashanth padala
    Mar 22 at 5:34










  • stackoverflow.com/questions/41534459/…
    – Panther
    Mar 22 at 6:16










  • I tried all the solution in that still not solved
    – prashanth padala
    Mar 22 at 6:24






  • 2




    update your question with everything that you tried =)
    – Panther
    Mar 22 at 6:25












up vote
0
down vote

favorite









up vote
0
down vote

favorite











I am getting below error while running the angular 4 project.



you seem to not be depending on "@angular/core". This is an error.


please find the below image for detail explaination:



Current versions:
Angular Cli : 1.7.3
Node : 8.10.0



enter image description here



I have tried this option:



rm -rf node_modules
rm package-lock.json
npm install


I am getting below error while running the above commands:



npm notice created a lockfile as package-lock.json. You should commit this file.
npm WARN @angular/material@5.2.4 requires a peer of @angular/core@^5.0.0 but none is installed. You must install peer dependencies yourself.
npm WARN @angular/material@5.2.4 requires a peer of @angular/common@^5.0.0 but none is installed. You must install peer dependencies yourself.
npm WARN @angular/cdk@5.2.4 requires a peer of @angular/core@^5.0.0 but none is installed. You must install peer dependencies yourself.
npm WARN @angular/cdk@5.2.4 requires a peer of @angular/common@^5.0.0 but none is installed. You must install peer dependencies yourself.
npm WARN @ng-bootstrap/ng-bootstrap@1.0.2 requires a peer of @angular/core@^5.0.2 but none is installed. You must install peer dependencies yourself.
npm WARN @ng-bootstrap/ng-bootstrap@1.0.2 requires a peer of @angular/common@^5.0.2 but none is installed. You must install peer dependencies yourself.
npm WARN @ng-bootstrap/ng-bootstrap@1.0.2 requires a peer of @angular/forms@^5.0.2 but none is installed. You must install peer dependencies yourself.
npm WARN @angular-devkit/schematics@0.0.52 requires a peer of @angular-devkit/core@0.0.29 but none is installed. You must install peer dependencies yourself.
npm WARN @schematics/angular@0.0.49 requires a peer of @angular-devkit/schematics@0.0.34 but none is installed. You must install peer dependencies yourself.
npm WARN ajv-keywords@3.1.0 requires a peer of ajv@^6.0.0 but none is installed. You must install peer dependencies yourself.
npm WARN optional SKIPPING OPTIONAL DEPENDENCY: fsevents@1.1.3 (node_modules/fsevents):
npm WARN notsup SKIPPING OPTIONAL DEPENDENCY: Unsupported platform for fsevents@1.1.3: wanted "os":"darwin","arch":"any" (current: "os":"linux","arch":"x64")









share|improve this question















I am getting below error while running the angular 4 project.



you seem to not be depending on "@angular/core". This is an error.


please find the below image for detail explaination:



Current versions:
Angular Cli : 1.7.3
Node : 8.10.0



enter image description here



I have tried this option:



rm -rf node_modules
rm package-lock.json
npm install


I am getting below error while running the above commands:



npm notice created a lockfile as package-lock.json. You should commit this file.
npm WARN @angular/material@5.2.4 requires a peer of @angular/core@^5.0.0 but none is installed. You must install peer dependencies yourself.
npm WARN @angular/material@5.2.4 requires a peer of @angular/common@^5.0.0 but none is installed. You must install peer dependencies yourself.
npm WARN @angular/cdk@5.2.4 requires a peer of @angular/core@^5.0.0 but none is installed. You must install peer dependencies yourself.
npm WARN @angular/cdk@5.2.4 requires a peer of @angular/common@^5.0.0 but none is installed. You must install peer dependencies yourself.
npm WARN @ng-bootstrap/ng-bootstrap@1.0.2 requires a peer of @angular/core@^5.0.2 but none is installed. You must install peer dependencies yourself.
npm WARN @ng-bootstrap/ng-bootstrap@1.0.2 requires a peer of @angular/common@^5.0.2 but none is installed. You must install peer dependencies yourself.
npm WARN @ng-bootstrap/ng-bootstrap@1.0.2 requires a peer of @angular/forms@^5.0.2 but none is installed. You must install peer dependencies yourself.
npm WARN @angular-devkit/schematics@0.0.52 requires a peer of @angular-devkit/core@0.0.29 but none is installed. You must install peer dependencies yourself.
npm WARN @schematics/angular@0.0.49 requires a peer of @angular-devkit/schematics@0.0.34 but none is installed. You must install peer dependencies yourself.
npm WARN ajv-keywords@3.1.0 requires a peer of ajv@^6.0.0 but none is installed. You must install peer dependencies yourself.
npm WARN optional SKIPPING OPTIONAL DEPENDENCY: fsevents@1.1.3 (node_modules/fsevents):
npm WARN notsup SKIPPING OPTIONAL DEPENDENCY: Unsupported platform for fsevents@1.1.3: wanted "os":"darwin","arch":"any" (current: "os":"linux","arch":"x64")






16.04 nodejs






share|improve this question















share|improve this question













share|improve this question




share|improve this question








edited Mar 22 at 12:02

























asked Mar 22 at 5:30









prashanth padala

23138




23138




closed as off-topic by fkraiem, Eric Carvalho, user117103, waltinator, eballeste Mar 26 at 23:29


This question appears to be off-topic. The users who voted to close gave this specific reason:


  • "This is not about Ubuntu. Questions about other Linux distributions can be asked on Unix & Linux, those about Windows on Super User, those about Apple products on Ask Different and generic programming questions on Stack Overflow." – fkraiem, Eric Carvalho, guntbert, waltinator, eballeste
If this question can be reworded to fit the rules in the help center, please edit the question.




closed as off-topic by fkraiem, Eric Carvalho, user117103, waltinator, eballeste Mar 26 at 23:29


This question appears to be off-topic. The users who voted to close gave this specific reason:


  • "This is not about Ubuntu. Questions about other Linux distributions can be asked on Unix & Linux, those about Windows on Super User, those about Apple products on Ask Different and generic programming questions on Stack Overflow." – fkraiem, Eric Carvalho, guntbert, waltinator, eballeste
If this question can be reworded to fit the rules in the help center, please edit the question.











  • @muru ok i have the added the image for detail explanation.
    – prashanth padala
    Mar 22 at 5:34










  • stackoverflow.com/questions/41534459/…
    – Panther
    Mar 22 at 6:16










  • I tried all the solution in that still not solved
    – prashanth padala
    Mar 22 at 6:24






  • 2




    update your question with everything that you tried =)
    – Panther
    Mar 22 at 6:25
















  • @muru ok i have the added the image for detail explanation.
    – prashanth padala
    Mar 22 at 5:34










  • stackoverflow.com/questions/41534459/…
    – Panther
    Mar 22 at 6:16










  • I tried all the solution in that still not solved
    – prashanth padala
    Mar 22 at 6:24






  • 2




    update your question with everything that you tried =)
    – Panther
    Mar 22 at 6:25















@muru ok i have the added the image for detail explanation.
– prashanth padala
Mar 22 at 5:34




@muru ok i have the added the image for detail explanation.
– prashanth padala
Mar 22 at 5:34












stackoverflow.com/questions/41534459/…
– Panther
Mar 22 at 6:16




stackoverflow.com/questions/41534459/…
– Panther
Mar 22 at 6:16












I tried all the solution in that still not solved
– prashanth padala
Mar 22 at 6:24




I tried all the solution in that still not solved
– prashanth padala
Mar 22 at 6:24




2




2




update your question with everything that you tried =)
– Panther
Mar 22 at 6:25




update your question with everything that you tried =)
– Panther
Mar 22 at 6:25










1 Answer
1






active

oldest

votes

















up vote
0
down vote



accepted










I got the solution by running the below command:



Delete your node modules , Check your package.json file should have the @angular/core and reinstall it with
npm i.






share|improve this answer



























    1 Answer
    1






    active

    oldest

    votes








    1 Answer
    1






    active

    oldest

    votes









    active

    oldest

    votes






    active

    oldest

    votes








    up vote
    0
    down vote



    accepted










    I got the solution by running the below command:



    Delete your node modules , Check your package.json file should have the @angular/core and reinstall it with
    npm i.






    share|improve this answer
























      up vote
      0
      down vote



      accepted










      I got the solution by running the below command:



      Delete your node modules , Check your package.json file should have the @angular/core and reinstall it with
      npm i.






      share|improve this answer






















        up vote
        0
        down vote



        accepted







        up vote
        0
        down vote



        accepted






        I got the solution by running the below command:



        Delete your node modules , Check your package.json file should have the @angular/core and reinstall it with
        npm i.






        share|improve this answer












        I got the solution by running the below command:



        Delete your node modules , Check your package.json file should have the @angular/core and reinstall it with
        npm i.







        share|improve this answer












        share|improve this answer



        share|improve this answer










        answered Mar 22 at 12:37









        prashanth padala

        23138




        23138












            Popular posts from this blog

            pylint3 and pip3 broken

            Missing snmpget and snmpwalk

            How to enroll fingerprints to Ubuntu 17.10 with VFS491