Welcome to the Treehouse Community

Want to collaborate on code errors? Have bugs you need feedback on? Looking for an extra set of eyes on your latest project? Get support with fellow developers, designers, and programmers of all backgrounds and skill levels here with the Treehouse Community! While you're at it, check out some resources Treehouse students have shared here.

Looking to learn something new?

Treehouse offers a seven day free trial for new students. Get access to thousands of hours of content and join thousands of Treehouse students and alumni in the community today.

Start your free trial

Development Tools

Michael Kalmykov
Michael Kalmykov
8,919 Points

@angular/compiler-cli" package was not properly installed error when I try to run ng serve on these project files

I download > run npm install > ng serve. on ng serve i get "The "@angular/compiler-cli" package was not properly installed. Error: Error:Cannot find module '@angular/compiler-cli'"

I have angular cli installed globally and can run other projects. any ideas as to what is going on

Michael Kalmykov
Michael Kalmykov
8,919 Points

updating typescript doesn't help

2 Answers

Can you post your package.json?

Michael Kalmykov
Michael Kalmykov
8,919 Points

I figured it out, this is an older version of angular that uses

html npm run serve