I had run npm install to install angular dependencies. While installing i'm facing issues with babel
Asked
Active
Viewed 1.6k times
1 Answers
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! :)

icychocolate98
- 178
- 7
-
1Cleaning up node_modules seems the right solution, that's a weird bug. – Eric Burel May 25 '20 at 09:50