create-react-app icon indicating copy to clipboard operation
create-react-app copied to clipboard

Browserslist error

Open razvan-soare opened this issue 7 years ago • 161 comments

Hello, i just used 'npx create-react-app project-name' and when im starting my project im getting this error:

/src/index.css (./node_modules/css-loader/dist/cjs.js??ref--6-oneOf-3-1!./node_modules/postcss-loader/src??postcss!./src/index.css) BrowserslistError: Unknown browser query android all. Maybe you are using old Browserslist or made typo in query. at Array.reduce () at Array.some () at Array.filter ()

Npm -v : 6.9.0 Node -v : v10.16.0

razvan-soare avatar Jun 18 '19 06:06 razvan-soare

Same issue for the same versions of node and npm

akshayakrsh avatar Jun 18 '19 07:06 akshayakrsh

Same issue with me

pirey avatar Jun 18 '19 07:06 pirey

Same issue for

Npm -v : 6.9.0 Node -v : v11.2.0

bhavikji avatar Jun 18 '19 07:06 bhavikji

yep - same issue. what we gonna do?

epicbytes avatar Jun 18 '19 07:06 epicbytes

Same here. Node 11.6.0 npm 6.9.0

ckristhoff avatar Jun 18 '19 07:06 ckristhoff

may be we just downgrade version of browserlist to 4.6.1? in 4.6.2 they are fixed android queries () Fix last x version and similar queries for Android (by Tony Ross).

epicbytes avatar Jun 18 '19 07:06 epicbytes

@epicbytes don't we need to eject CRA for that?

bhavikji avatar Jun 18 '19 07:06 bhavikji

@epicbytes don't we need to eject CRA for that?

i dont know in this time, its just an idea)

epicbytes avatar Jun 18 '19 07:06 epicbytes

same issue

fantasticit avatar Jun 18 '19 07:06 fantasticit

Same issue

SunJianMing avatar Jun 18 '19 07:06 SunJianMing

If you want to pin browserslist version, pin it to 4.6.0. 4.6.2 = 4.6.1 + Readme changes 4.6.1 is the faulty one and was release 20days ago

akshayakrsh avatar Jun 18 '19 07:06 akshayakrsh

We're having the same issue here. Halp. 😞 Node v11.1.0 npm 6.1.0

masak avatar Jun 18 '19 07:06 masak

same issue 🙋

fireswork avatar Jun 18 '19 07:06 fireswork

If you want to pin browserslist version, pin it to 4.6.0. 4.6.2 = 4.6.1 + Readme changes 4.6.1 is the faulty one and was release 20days ago

Browserslist 4.6.0 still raises same error to me.

ckristhoff avatar Jun 18 '19 07:06 ckristhoff

Same issue for : npm ver. 6.9.0 node ver. 12.4.0

b4h0-c4t avatar Jun 18 '19 07:06 b4h0-c4t

Same issue for : npm ver. 6.9.0 node ver. 10.16.0

axlwang1976 avatar Jun 18 '19 07:06 axlwang1976

Same issue for : npm ver. 6.9.0 node ver. 10.14.1

yb avatar Jun 18 '19 07:06 yb

Same issue for : npm ver. 6.9.0 node ver. 10.14.1

ulsha avatar Jun 18 '19 07:06 ulsha

Same issue:

node v 11.6.0
npm  v 6.5.0

anthonypenna avatar Jun 18 '19 07:06 anthonypenna

Same issue:

node v 10.16.0 npm v 6.9.0

andrwaldna avatar Jun 18 '19 08:06 andrwaldna