react-md-editor icon indicating copy to clipboard operation
react-md-editor copied to clipboard

Can't resolve 'devlop' for ./node_modules/hast-util-from-html/lib/index.js on version 4.0.1

Open joemaoniu opened this issue 1 year ago • 3 comments

i am run craco app, with "react": "^17.0.2", "react-dom": "^18.2.0", and "typescript": "~4.1.5" when i yarn add @uiw/react-md-editor I got the error:

./node_modules/hast-util-from-html/lib/index.js
Module not found: Can't resolve 'devlop' in '/Users/xx/Documents/xxxx/node_modules/hast-util-from-html/lib'

as you can see the devlop is actually missing in the node_modules folder

image

joemaoniu avatar Dec 03 '23 15:12 joemaoniu

@joemaoniu You can give me an example that reproduces the error, and I can help you troubleshoot it for free.

jaywcjlove avatar Dec 04 '23 01:12 jaywcjlove

my craco config and package json?

joemaoniu avatar Dec 04 '23 02:12 joemaoniu

@joemaoniu like this -> https://codesandbox.io/embed/markdown-editor-for-react-izdd6?fontsize=14&hidenavigation=1&theme=dark

jaywcjlove avatar Dec 04 '23 03:12 jaywcjlove