Ashish Surana
Ashish Surana

Reputation: 95

Error The "@angular/compiler-cli" package was not properly installed

after going through all the threads available, I'm still not able to resolve the problem. I cloned the angular2 quickstart project. All module versions are up to date the repo link is : github.com/ashishsurana/portfolio

Upvotes: 0

Views: 1496

Answers (2)

Balu
Balu

Reputation: 476

Try removing existing dependencies and run npm install again. Make sure that you have the latest typescript(at least version 2.2). This worked for me!.

Upvotes: 0

Francesco Borzi
Francesco Borzi

Reputation: 62064

You don't need to clone the angular seed project.

Just install the Angular CLI globally in your system using:

npm install -g @angular/cli@latest

then you can use it to create a new project

ng new my-project

and run it:

cd my-project ng serve

Upvotes: 2

Related Questions