Answer the question
In order to leave comments, you need to log in
React. When importing, TinyMCE throws an error Can't resolve 'lodash/lang/clone'?
When including the version for React, it gives this:
ERROR in ../~/react-tinymce/lib/components/TinyMCE.js
Module not found: Error: Can't resolve 'lodash/lang/isEqual' in 'D:\projects\dev
_server\cabinetsServer\node_modules\react -tinymce\lib\components'
@ ../~/react-tinymce/lib/components/TinyMCE.js 11:25-55
@ ../~/react-tinymce/lib/main.js
@ ./components/FormOrders .js
@ ./components/App.js
@ ./bundle.js
ERROR in ../~/react-tinymce/lib/components/TinyMCE.js
Module not found: Error: Can't resolve 'lodash/lang/clone ' in 'D:\projects\dev_s
server\cabinetsServer\node_modules\react-tinymce\lib\components'
@ ../~/react-tinymce/lib/components/TinyMCE.js 15:
23-51 @ ../~ /react-tinymce/lib/main.js
@ ./components/FormOrders.js
@ ./components/App.js
@ ./bundle.js
Answer the question
In order to leave comments, you need to log in
The file asks for lodash, but it does not see its node_modules folder, I had to enter a more specific path.
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question