You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository was archived by the owner on Dec 19, 2024. It is now read-only.
I am using nuxt-community express-template with bootstrap@4.0.0. I updated the nuxt version of the express-template to nuxt 1.4.0 which depends on postcss-cssnext@3.1.0. Somehow autoprefixer@^7.1.1 that the latest postcss-cssnext is using may have a bug with browserslist@^2.2.2. They does not support one of the query defined in the browserslist of bootstrap:
last 1 major version
An error occurs during nuxt build:
Module build failed: BrowserslistError: Unknown browser major
Remove the last 1 major version from package.json of bootstrap works. Update the autoprefixer in postcss-cssnext to the latest version also works. I guess the problem is between the autoprefixer and browserslist that the later one does not recognize the query.
autoprefixer has to be updated to the newer version to make this work.
The text was updated successfully, but these errors were encountered:
stomvi
changed the title
Error Unknown browser major
Module build failed: BrowserslistError: Unknown browser major
Mar 27, 2018
I am using nuxt-community express-template with
bootstrap@4.0.0
. I updated the nuxt version of the express-template tonuxt 1.4.0
which depends onpostcss-cssnext@3.1.0
. Somehowautoprefixer@^7.1.1
that the latestpostcss-cssnext
is using may have a bug withbrowserslist@^2.2.2
. They does not support one of the query defined in thebrowserslist
of bootstrap:An error occurs during nuxt build:
Remove the
last 1 major version
frompackage.json
of bootstrap works. Update theautoprefixer
inpostcss-cssnext
to the latest version also works. I guess the problem is between theautoprefixer
andbrowserslist
that the later one does not recognize the query.autoprefixer
has to be updated to the newer version to make this work.The text was updated successfully, but these errors were encountered: