-
Notifications
You must be signed in to change notification settings - Fork 94
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
"Error: 'convertToRaw' is not exported by node_modules/draft-js/lib/Draft.js" in version 2.1.8 #153
Comments
@serafinomb, To fix this error add
|
Similar way with kinda automating named exports list import * as draftJs from 'draft-js';
commonjs({
namedExports: {
'draft-js': Object.keys(draftJs)
}
}) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Hello,
during a clean
npm install
I encountered the error reported below.These are the "draft-js" and "draft-convert" versions in my "package.json" file.
And the error encountered:
I updated the "draft-convert" version to "2.1.7" momentarily to fix the issue. It seems that the latest release has incompatibilities with the latest release (as of today) of "draft-js".
Please let me know if I do anything to help debug the issue,
thank you.
The text was updated successfully, but these errors were encountered: