-
Notifications
You must be signed in to change notification settings - Fork 5
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
The 2.4 release breaks cypress in many repos #638
Comments
It provides correct exports, I guess the tests using imports but run as CJS instead of ESM? (Its a pitty jest still does not support it oom) |
Nope, Viewer doesn't even have jest 🙈 EDIT: it does have the dependency installed for some reason, and removing it makes it work. EDIT2: nope, still fails, so the 2.4 release does have something weird in it 🤔 |
Posting here since I think it is related:
So far so not-good, but how to solve this? EDIT: So running |
Alternatively,and I'm sure there is a better way: "main": "dist/index.es.mjs",
"types": "dist/index.d.ts",
"exports": {
".": {
"types": "./dist/index.d.ts",
"import": "./dist/index.es.mjs",
"default": "./dist/index.es.mjs"
}
}, |
I did not see any app with that issue anymore. So seems that all apps have found a solution. |
https://github.com/nextcloud/viewer/actions/runs/5989883555/job/16246600700
https://github.com/nextcloud/photos/actions/runs/5798646767/job/15717925031
Originally posted by @skjnldsv in #627 (comment)
The text was updated successfully, but these errors were encountered: