1. Adding "resolutions": {
"@babel/preset-env": "7.5.5"
},
to package.json
2. Installing $ npm i @babel/compat-data@7.8.0
3. Adjust the version numbers
"devDependencies": {
"@babel/compat-data": "^7.8.0",
"@babel/preset-env": "^7.8.0",
"babel-loader": "^8.1.0",
...
},
and then execute the following:
$ rm -rf node_modules
$ yarn cache clean
$ yarn
But I still end up with the same annoying 'Could not find plugin "proposal-numeric separator" error'. To simplify things, I removed the yarn.lock file. The 'Could not find plugin "proposal-numeric separator" error' was fixed in babel in release 7.8.7.
[19:17:49] Error in plugin "gulp-babel"
Message:
[BABEL] /Users/normanklein/Library/Caches/Yarn/v6/.tmp/dab8deaa179dd66562dd889ce1b3b406.27a5ca00f41160791f80b8ed70bf3ce5afad5c0b.prepare/src/Analytics.js: Could not find plugin "proposal-numeric-separator". Ensure there is an entry in ./available-plugins.js for it. (While processing: "/Users/normanklein/Library/Caches/Yarn/v6/.tmp/dab8deaa179dd66562dd889ce1b3b406.27a5ca00f41160791f80b8ed70bf3ce5afad5c0b.prepare/node_modules/@babel/preset-env/lib/index.js")
npm ERR! code ELIFECYCLE
npm ERR! errno 1
npm ERR! parse@2.11.0 gulp: `gulp "compile"`
npm ERR! Exit status 1
Closing as this is likely an external issue, without a full reproduction there isn't much we can do. Though do note that Yarn PnP can tell you exactly where and why this happens since it controls the resolution
I thought this had been fixed, but it still seems to be broken.
I've tried all the popular suggestions listed on the web https://stackoverflow.com/questions/60780664/could-not-find-plugin-proposal-numeric-separator
But none of them seem to really fix the issue.
and then execute the following:
But I still end up with the same annoying 'Could not find plugin "proposal-numeric separator" error'. To simplify things, I removed the yarn.lock file. The 'Could not find plugin "proposal-numeric separator" error' was fixed in babel in release 7.8.7.
But using npm works correctly.
Here is the contents of my updated package.json to incorporate all these suggested fixes:
So please tell me the magic incantation to make this work so I can stop working and go play with my kids once again.