you seem to not be depending on â@angular/coreâ. This is an error [closed]
![Creative The name of the picture](https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgO9GURib1T8z7lCwjOGLQaGtrueEthgQ8LO42ZX8cOfTqDK4jvDDpKkLFwf2J49kYCMNW7d4ABih_XCb_2UXdq5fPJDkoyg7-8g_YfRUot-XnaXkNYycsNp7lA5_TW9td0FFpLQ2APzKcZ/s1600/1.jpg)
![Creative The name of the picture](https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhYQ0N5W1qAOxLP7t7iOM6O6AzbZnkXUy16s7P_CWfOb5UbTQY_aDsc727chyphenhyphen5W4IppVNernMMQeaUFTB_rFzAd95_CDt-tnwN-nBx6JyUp2duGjPaL5-VgNO41AVsA_vu30EJcipdDG409/s400/Clash+Royale+CLAN+TAG%2523URR8PPP.png)
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
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
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
add a comment |Â
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
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
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
@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
add a comment |Â
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
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
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
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
16.04 nodejs
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
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
@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
add a comment |Â
@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
add a comment |Â
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
.
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
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
.
add a comment |Â
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
.
add a comment |Â
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
.
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
.
answered Mar 22 at 12:37
prashanth padala
23138
23138
add a comment |Â
add a comment |Â
@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