-
Notifications
You must be signed in to change notification settings - Fork 405
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
6.1.0 @adobe/css-tools crashing #524
Comments
PR #523 solves this, too. |
Related to #522? |
I updated from 5.17.0 and it is still present in 6.1.1. I still have |
I can't reproduce this issue. Can someone please either explain the environment they're using or link to a reproduction? |
This comment was marked as off-topic.
This comment was marked as off-topic.
@nickmccurdy I also had a really hard time reproducing this, but I was able to get the same error message with the following setup:
|
Similarly, I was running Vitest (so, obviously ESM) and @adobe/css-tools was at 4.2.0 in my lockfile. Letting @adobe/css-tools bump to 4.3.1 immediately fixed the issue. |
+1 yarn add @adobe/[email protected]
npx yarn-deduplicate
yarn remove @adobe/css-tools This fixed the issue. |
This comment was marked as off-topic.
This comment was marked as off-topic.
🎉 This issue has been resolved in version 6.1.2 🎉 The release is available on: Your semantic-release bot 📦🚀 |
@testing-library/jest-dom
version: 6.1.0node
version: 18npm
(oryarn
) version: yarn 3.6.0Relevant code or config:
n/a
What you did:
Ran basic React tests, working fine with jest-dom@5, after updating to jest-dom@6 (this is important - NOT a clear install).
What happened:
Problem description:
The required version of @adobe/css-tools jest-dom declares, ^4.0.1, is NOT correct. In my lockfile, it has already been resolved to 4.2.0. This hasn't changed with jest-dom@6 update, because ^4.0.1 is still the desired version range. This produced the error above.
After investigation, it turned out @adobe/css-tools 4.3.0 is the first release with ESM support.
Suggested solution:
Bump minimum @adobe/css-tools dependency to ^4.3.0.
The text was updated successfully, but these errors were encountered: