So I installed the angular-cli using npm install @angular-devkit/build-angular but every time I try and use the ng command I get this error: Error: Cannot find module 'source-map'
even trying ng version throws the error. I also trying installing it using npm install angualt-cli but that didnt work either. Anyone know how to fix this issue?
-
have you tried, npm install -g @angular/cli ? Say 'y' to everything and then, enter your project and you'll be able to use 'ng'. Tested right now.mindmaster– mindmaster2019-03-12 09:29:40 +00:00Commented Mar 12, 2019 at 9:29
Add a comment
|