You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
[!] Error: 'convertToRaw' is not exported by node_modules/draft-js/lib/Draft.js
https://github.com/rollup/rollup/wiki/Troubleshooting#name-is-not-exported-by-module
node_modules/draft-convert/esm/convertToHTML.js (5:9)
3: import React from 'react';
4: import ReactDOMServer from 'react-dom/server';
5: import { convertToRaw } from 'draft-js';
^
6: import encodeBlock from './encodeBlock';
7: import blockEntities from './blockEntities';
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:
serafinomb
changed the title
Error 'convertToRaw' is not exported by draft-js/lib/Draft.js in version 2.1.8
"Error 'convertToRaw' is not exported by draft-js/lib/Draft.js" in version 2.1.8
Aug 6, 2019
serafinomb
changed the title
"Error 'convertToRaw' is not exported by draft-js/lib/Draft.js" in version 2.1.8
"Error 'convertToRaw' is not exported by node_modules/draft-js/lib/Draft.js" in version 2.1.8
Aug 6, 2019
serafinomb
changed the title
"Error 'convertToRaw' is not exported by node_modules/draft-js/lib/Draft.js" in version 2.1.8
"Error: 'convertToRaw' is not exported by node_modules/draft-js/lib/Draft.js" in version 2.1.8
Aug 6, 2019
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: