-
-
Notifications
You must be signed in to change notification settings - Fork 3.7k
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
🧩 Missing imports after update to v42.0.0+ #17289
Comments
I recently tried to upgrade from the
Does this sound like a related issue? |
@stonebk I can't think of any change that would cause this. Could you try reinstalling the dependencies? |
Looks like module.exports = {
// Existing config...
moduleNameMapper: {
'^ckeditor5$': '<rootDir>/path/to/ckeditor',
},
}; But the above looks weird... |
The dependencies are definitely there -- the code runs great outside of jest. I can try playing around with This could very well be an issue specific to our setup. We're using rush and pnpm. We were wondering if pnpm's flat store has something to do with it. |
Thank you @Witoso, this appears to work:
|
Worked for me as well. |
I would really appreciate it if someone could share a minimal reproducible sample for us, with |
Missing imports
We've received reports on our GitHub issue tracker (e.g., issue #17207) about missing code imports after upgrading to CKEditor 5 version 42.0.0 or higher. These issues mainly affect integrators who noticed that certain classes and utilities used for custom plugins and integrations are no longer available for import.
Depending on the integration method, the errors may look different but importing the missing item will always fail in the runtime:
This situation is partly due to the migration to TypeScript in version 37.0.0, which introduced import indexes, along with recent changes to installation methods. While these updates aim to simplify CKEditor 5 integration, they have caused some unintended issues for existing setups.
What are we doing about it?
What can I do as an integrator?
We appreciate your patience as we address these issues and improve the experience for everyone.
The text was updated successfully, but these errors were encountered: