-
Notifications
You must be signed in to change notification settings - Fork 822
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
workbox-build@6.2.0 not compatible with workbox-webpack-plugin@6.0.2 #2904
Comments
Hello @tjwiebell—For a while now, we've used I'm going to take a look at the Could you explain a bit more about your motivations around how you're accomplishing these versioning constraints on your end? Are you using |
We have a package in our monorepo that is used as a template for our creator starter kit, which support both |
Gotcha. I've filed #2906 and I'm going to give that change a try soon with a pre-release publish to I don't think that change is going to address the 6.0.2 vs. 6.2.0 compatibility issue retroactively, because 6.2.0 was written with the assumption that all of the mutual dependencies would also use 6.2.0, and it's not going to be trivial to undo that. But moving forward, for 6.2.1 on, I hope that our dependencies will accurately reflect that intention. |
Unfortunately, it looks like
I'm going to dig a bit deeper into our options here. Also, if there's anyone who is currently stuck due to a similar situation to what was outlined above and can't work around it, please chime in and let us know. I guess it would be possible (if less than ideal) to re-add the old validation logic to |
Ah, we need to use the |
Okay, release v6.2.2 uses the I'll leave this issue open to evaluate the impact on developers who are stuck for some reason on a mismatched older version of the Workbox libraries. |
...I'm going to close this, and apologies again for any issues that the 6.2.0 release raised. Moving forward, the |
No worries @jeffposnick, thanks for the lightning fast response. Can confirm upgrading to |
…an incompatible dependency - See GoogleChrome/workbox#2904
Library Affected:
workbox-webpack-plugin
Browser & Platform:
n/a
Issue or Feature Request Description:
After 6.2.0 was published yesterday, our project that is constrained to
workbox-webpack-plugin: ~6.0.2
started failing with zero changes to our code base. It appears the constraint in this packageworkbox-build: ^6.0.2
causes an upgrade to6.2.0
, which does not appear to be backward compatible with6.0.2
of the plugin.Error: Cannot find module 'workbox-build/build/options/schema/webpack-generate-sw'
Our workaround for now is to fix
workbox-build
back to6.0.2
using resolution fixing:We've put out the fire on our end, but I can imagine anyone else using conservative constraints like our project will also run into build failures after yesterday's release. Please let me know if you have any questions or need additional detail.
The text was updated successfully, but these errors were encountered: