K
K
KnightForce2017-06-17 23:11:14
TinyMCE
KnightForce, 2017-06-17 23:11:14

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

Does anyone know how to deal with this?

Answer the question

In order to leave comments, you need to log in

1 answer(s)
K
KnightForce, 2017-06-18
@KnightForce

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 question

Ask a Question

731 491 924 answers to any question