When trying to run yarn dev and I am getting the following error:
Error: [BABEL] C:\Users\User\OtherFolders\src\index.js: Could not find plugin "proposal-private-methods". Ensure there is an entry in ./available-plugins.js for it.
I have "@babel/plugin-proposal-private-methods": "7.8.3" as a dependency on my package.json file. Also, the @babel/plugin-proposal-private-methods folder is present in the node_modules folder.
I had tried the following to no luck:
- Adding a resolution:
"@babel/compat-data": "7.10.1"to the package file I remove the node_module folder, yarn-lock, and package-lock files before attempting to runyarn install.yarn installruns without issues - I also try
$ npm i @babel/plugin-proposal-private-methods
Any ideas on what the error could be or potential solutions? Thanks in advance for any help!