Open bcg opened 6 years ago
Was able to resolve by removing this
"browserslist": [
">0.2%",
"not dead",
"not ie <= 11",
"not op_mini all"
]
from package.json
. That list was constructed by create-react-app
:
$ create-react-app --version
2.0.3
Was able to resolve by removing this
"browserslist": [ ">0.2%", "not dead", "not ie <= 11", "not op_mini all" ]
from
package.json
. That list was constructed bycreate-react-app
:$ create-react-app --version 2.0.3
from which package.json, isn't that list necessary in order to autoprefix stuff
It is the package.json
that create-react-app
creates for new applications. I didn't mean to indicate it was resolved, I was just adding some additional notes.
I think it is because a downstream dependency is using a really old version of browserslist
.
Any news on this, seems that without this list the compiled css will not work on some browsers.
My temporary fix in my case was to create an empty .browserslistrc at the root of tachyons
If no one got a solution for this issue, yet, I think there is a one!
update the browserslist
version to be > 3.0 in each of these dependencies:
tachyons-cli/node_modules/caniuse-api/
tachyons-cli/node_modules/postcss-merge-rules/
tachyons-cli/node_modules/postcss-merge-rules/node_modules/caniuse-api/
If no one got a solution for this issue, yet, I think there is a one! update the
browserslist
version to be > 3.0 in each of these dependencies:
tachyons-cli/node_modules/caniuse-api/
tachyons-cli/node_modules/postcss-merge-rules/
tachyons-cli/node_modules/postcss-merge-rules/node_modules/caniuse-api/
Can you explain how should I do this?
If no one got a solution for this issue, yet, I think there is a one! update the
browserslist
version to be > 3.0 in each of these dependencies:
tachyons-cli/node_modules/caniuse-api/
tachyons-cli/node_modules/postcss-merge-rules/
tachyons-cli/node_modules/postcss-merge-rules/node_modules/caniuse-api/
Can you explain how should I do this?
this is an explicit solution for the problem that you need to change browserslist version through your local node_modules
in the previously mentioned packages and hence, this should not be applicable for your app release it should be fixed in the next versions of tachyons-cli
itself!
there is another solution for this if tachyons-cli
don't fix this in a next version. you can fork their repo, apply the fix by yourself (say in a new branch) and install it by github not from npmjs.com
as following in this link
Looks like the issue originates from cssnano
package which is used by tachyons-build-css
https://github.com/browserslist/browserslist/issues/266#issuecomment-393913598
I think that tachyons-build-css
need to upgrade cssnano
to the version 4. For that moment it uses "cssnano": "^3.10.0",
I've opened an issue in the tachyons-build-css repository, upvote it please if you think that it is relevant. https://github.com/tachyons-css/tachyons-build-css/issues/21 @ahmadm-atallah @bcg @fraincs @Fl4v10
my solution was updating "cssnano": "4.1.10", and "autoprefixer": "9.6.1",
Unknown browser query dead
I have the same problem,Has anybody solved it? I tried your method, but it didn't work.
Unknown browser query
dead
I have the same problem,Has anybody solved it? I tried your method, but it didn't work. I've already solved that problem solution: del caiuse-api/node_modules/browsersList
Was following the Tachyons And React Tutorial and ran into this error:
I think it might be resolved by
Dependencies: