Browserslist: 'maintained node versions' referring pennding Node version

Created on 23 Oct 2018  路  7Comments  路  Source: browserslist/browserslist

Nuxt.js build error, because of 'maintained node versions' referring pennding Node version.

show this error message.

Module build failed (from ./node_modules/nuxt/node_modules/postcss-loader/src/index.js):
BrowserslistError: Unknown version 11 of Node.js

2018-10-23 12 50 15

Most helpful comment

Changing maintained node versions to node 10 in your .browserslistrc works as a temp fix.

All 7 comments

screenshot 2018-10-23 at 11 02 16 am

All my CI builds fall with this error (due to depends on @babel/preset-env).

Seems ~preset-env~ browserslist firstly get all versions by user's query (maintained node versions), then checks this versions separately:
1) maintained node versions -> ..., v10, v11 (https://github.com/browserslist/browserslist/blob/master/index.js#L706, https://raw.githubusercontent.com/nodejs/Release/master/schedule.json, v11 is exist)
2) node 10 -> OK
3) node 11 -> ERROR (https://github.com/browserslist/browserslist/blob/master/index.js#L679, https://nodejs.org/dist/index.json, v11 - doesn't exist)

Changing maintained node versions to node 10 in your .browserslistrc works as a temp fix.

Oh. I waked up and need 15 minutes for breakfast. Then I will investigate the source of the error and how to fix it.

Fixed in 4.3.2

Was this page helpful?
0 / 5 - 0 ratings

Related issues

lukejagodzinski picture lukejagodzinski  路  5Comments

shellscape picture shellscape  路  6Comments

galvarez421 picture galvarez421  路  10Comments

Schweinepriester picture Schweinepriester  路  4Comments

equinusocio picture equinusocio  路  3Comments