Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[Bug] Getting unknown browser dead query on build #69

Open
luchillo17 opened this issue Nov 30, 2018 · 5 comments
Open

[Bug] Getting unknown browser dead query on build #69

luchillo17 opened this issue Nov 30, 2018 · 5 comments

Comments

@luchillo17
Copy link

Output of running the command:
image

Short version:
Probably outdated postcss-next with old BrowserList version that doesn't support dead query, actually npm says postcss-next has been deprecated in favor of postcss-preset-env.

I don't want to eject to be able to use react-toolbox, and i guess i'm not the only one.

Probably related issues:
browserslist/browserslist#323
browserslist/browserslist#266
https://www.npmjs.com/package/postcss-cssnext

@aaahrens
Copy link

I am getting this too

@mtermoul
Copy link

mtermoul commented Dec 2, 2018

me 3! any workaround?

I am getting this error when running:

npm run toolbox
BrowserslistError: Unknown browser query `dead`

@luchillo17
Copy link
Author

@mtermoul & @aaahrens Although React Toolbox itself is in active development, this one is abandoned since Apr 11 2017, there's 11 PR's pending to merge, i would consider this repo dead, since i don't want to eject my CRA app, i've moved to MaterialUI, i'm grateful i met this issue at the start of the app dev cycle.

@mtermoul
Copy link

mtermoul commented Dec 2, 2018

@luchillo17 Thanks for pointing this fact, because I was getting frustrated about what do I need to do in order to have react-toolbox to work with CRA. Anyway this is the third UI framework that I tried with react so far and have to drop it because of issues like this or the lack of components.
Material UI is #1 but comments are saying that it's necessarily complicated to customize your styles and change some colors for instance.

Honestly I tried Vue and Vuetify and by far it's much simpler and super productive.

Anyway, let me give Material UI another try and see if I can change my mind.

Thanks.

@luchillo17
Copy link
Author

@mtermoul Indeed Material UI is complex, but the complexity would end up being very close with React Toolbox (or very close for my case) but i was able to use that complexity, now my app has multi theme support, that can be changed at runtime.

The complexity is about knowing how to make the changes, once you know it's easy, basically the learning curve is steep as hell, but small.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants