-
Notifications
You must be signed in to change notification settings - Fork 508
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
Adding --extractErrors to build throws errors #912
Comments
So I noticed the repo isn't using the latest version of tsdx. I upgraded to latest (0.14.1) and it seems to have introduced a completely different problem when I run
|
So there's a lot to unpack here:
It looks like you added a similar, but slightly different plugin in reduxjs/redux#3920, which adds another support for why this should be an entirely independent plugin. If the Redux folks can ask React to split out the plugin, I can chime in there. |
That's an unrelated error, please keep issues on topic. I did a search for this error and the first result shows that this is an error upstream in For the purposes of this specific issue, I'd remove the |
@agilgur5 Apologies for the off topic issue, wasn't sure if it would be helpful or add any context, but yes, appears to be a different issue. I think I'll wait on v0.15 and see if we can work forward from there on this issue since this is a bit of a rats nest at the moment with multiple issues. |
Current Behavior
I'm currently trying to add the
--extractErrors
flag to builds of Redux Toolkit (https://github.com/reduxjs/redux-toolkit) and without making ANY changes, just adding that flag, it gives some pretty unhelpful errors. I'm not sure what information to provide because I'm a bit lost myself on what is causing this other than "babel issue".Expected behavior
Shouldn't explode. :) Worth mentioning,
ErrorDev
,ErrorProd
, andcodes.json
files are created before it craps out. Even if I haveinvarant
being used in the codebase,codes.json
is empty (just{}
), however.Suggested solution(s)
I have no idea. I've been trying to dig into this on my side but I've hit a dead end which is why I'm reaching out!
Additional context
Reproducing is really simple... clone Redux Toolkit, add the flag to the build script, and watch it error.
Your environment
The text was updated successfully, but these errors were encountered: