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
hello, it seems some error when use with react 16. How can I fix this issue?
my useage:
import HtmlToJsx from "htmltojsx";
and the following error occured:
./node_modules/htmltojsx/src/htmltojsx.js
Module not found: Can't resolve 'react-dom/lib/HTMLDOMPropertyConfig' in '/Users/chenguanxi/Netease/CloudMusic/transform/node_modules/htmltojsx/src'
These dependencies were not found:
react-dom/lib/HTMLDOMPropertyConfig in ./node_modules/htmltojsx/src/htmltojsx.js
react-dom/lib/SVGDOMPropertyConfig in ./node_modules/htmltojsx/src/htmltojsx.js
To install them, you can run: npm install --save react-dom/lib/HTMLDOMPropertyConfig react-dom/lib/SVGDOMPropertyConfig
my react version:
"react": "16.8.6",
"react-dom": "16.8.6",
"htmltojsx": "^0.3.0",
The text was updated successfully, but these errors were encountered:
hello, it seems some error when use with react 16. How can I fix this issue?
my useage:
import HtmlToJsx from "htmltojsx";
and the following error occured:
./node_modules/htmltojsx/src/htmltojsx.js
Module not found: Can't resolve 'react-dom/lib/HTMLDOMPropertyConfig' in '/Users/chenguanxi/Netease/CloudMusic/transform/node_modules/htmltojsx/src'
These dependencies were not found:
To install them, you can run: npm install --save react-dom/lib/HTMLDOMPropertyConfig react-dom/lib/SVGDOMPropertyConfig
my react version:
"react": "16.8.6",
"react-dom": "16.8.6",
"htmltojsx": "^0.3.0",
The text was updated successfully, but these errors were encountered: