5

I had run npm install to install angular dependencies. While installing i'm facing issues with babel

Pavithra Muthusamy
  • 255
  • 1
  • 3
  • 13

1 Answers1

7

Try uninstalling angular/cli and installing again: Do the same to babel package, try to uninstall it and install again.

npm uninstall -g @angular/cli
npm cache clean --force

Check if you followed this steps in babel installation:

npm init
npm install @babel/core @babel/preset-typescript @babel/preset-env

Remember to check your package.json file in order to see if dependecies have been installed correctly with latest version !

If this doesn't work, please paste your code here with error in order to see better! :)