Babel error when running npm install
When running npm install we have this error :
This @babel/plugin-proposal-private-property-in-object version is not meant to be imported. Something is importing @babel/plugin-proposal-private-property-in-object without declaring it in its dependencies (or devDependencies) in the package.json file.
Fix :
- Adding
babel/plugin-proposal-private-property-in-object:"^7.21.11"
into the package.json