Unknown version 76 of edge
See original GitHub issueHey,
After updating babel, prettier and browserslist I found an error while building the project
We have .browserslist-es2017 file like:
[es2017]
edge >= 16
...
unreleased edge versions
...
We get browsers like that:
const browsers = browserslist(undefined, {
config: path.join(__dirname, './.browserslist-es2017'),
env: 'es2017',
});
The list has edge versions as follows:
[…, edge 76,edge 18,edge 17,edge 16,…]
Here you see edge 76
The error started while processing: “node_modules/@babel/preset-env/lib/index.js”
at Function.select (node_modules/@babel/helper-compilation-targets/node_modules/browserslist/index.js:1086:17)
at node_modules/@babel/helper-compilation-targets/node_modules/browserslist/index.js:336:33
at Array.reduce (<anonymous>)
at resolve (node_modules/@babel/helper-compilation-targets/node_modules/browserslist/index.js:318:18)
at browserslist (node_modules/@babel/helper-compilation-targets/node_modules/browserslist/index.js:443:21)
at getTargets (node_modules/@babel/helper-compilation-targets/lib/index.js:202:48)
at _default (node_modules/@babel/preset-env/lib/index.js:246:57)
at node_modules/@babel/helper-plugin-utils/lib/index.js:19:12
at node_modules/@babel/core/lib/config/full.js:199:14
at Generator.next (<anonymous>)
More information:
- I tried last version of babel and browserslist, it fails as well
- Current versions in
package.json
are
"devDependencies": {
"@babel/core": "7.9.0",
"@babel/plugin-proposal-class-properties": "7.8.3",
"@babel/plugin-proposal-decorators": "7.8.3",
"@babel/plugin-proposal-nullish-coalescing-operator": "^7.8.3",
"@babel/plugin-proposal-numeric-separator": "7.8.3",
"@babel/plugin-proposal-optional-chaining": "^7.9.0",
"@babel/plugin-transform-object-assign": "7.8.3",
"@babel/plugin-transform-runtime": "7.9.0",
"@babel/preset-env": "7.9.5",
"@babel/preset-react": "7.9.4",
"@babel/preset-typescript": "7.9.0",
"@babel/runtime": "7.9.2",
...
"browserslist": "4.9.1",
...
}
-
I checked that in
"@babel/preset-env": "7.9.5"
version ofbrowserslist
is"^4.9.1"
so 4.9.1 should be a fit, but it’s not -
It might have similar problem as the comment which describes it - https://github.com/parcel-bundler/parcel/issues/1036#issuecomment-387887471
Issue Analytics
- State:
- Created 3 years ago
- Comments:7 (6 by maintainers)
Top Results From Across the Web
BrowserslistError: Unknown version 67 of android
I have created one angular library using angular 8 and CLI 8 . I am trying to build the library, but I am...
Read more >Microsoft Edge "Unknown" update now rolling out - YouTube
The release notes do not tell us what this latest point release update fixes or addresses, but currently I would suggest that we...
Read more >Edge Of Paradise - "The Unknown" (Official Album Trailer)
From the album THE UNKNOWN. Buy or Stream: https://orcd.co/eoptheunknown | Watch more Edge Of Paradise videos: ...
Read more >Windows Updates are installing, but showing "Unknown ...
Unknown means, either that the client system did not complete the software update scan or the site server did not receive the software...
Read more >Reliable Detection of Unknown Cell-edge Users via ...
[10] J. D. Carroll, “Generalization of canonical correlation analysis to three or more sets of variables,” in Proceedings of the 76th annual convention...
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
If Yandex wants to support Russian open source, you can tell your manager about our Open Collective
https://opencollective.com/browserslist
@Beraliv we have a special helper to update all
caniuse-lite
dependencies: