didinj / mean-stack-angular5-crud

MEAN Stack (Angular 5) CRUD Web Application Example
https://www.djamware.com/post/5a0673c880aca7739224ee21/mean-stack-angular-5-crud-web-application-example
MIT License
107 stars 83 forks source link

Cannot find module @angular-devkit/core #8

Open enigma1 opened 6 years ago

enigma1 commented 6 years ago

Can you explain why doing npm install doesn't take care for the angular-cli issues and I have to manually mangle with the installation process? Especially on a mean seed repo.

didinj commented 6 years ago

This error related to Angular-CLI, you can send them an issue. It's come with latest Angular-CLI and Angular 5 and not happening on the first version of Angular-CLI 1.5 and Angular 5.

mleziva commented 5 years ago

Try this:

  1. npm update -g @angular/cli
  2. editing my package.json changing the line: "@angular/cli": "1.6.0", to "@angular/cli": "^1.6.0",
  3. npm update

Credit to: https://github.com/angular/angular-cli/issues/9307