After running yarn add last-draft-js-toolbar-plugin and serving the app I'm seeing the following errors. Looks like the packages linkify-it and tlds aren't specified in package.json. Adding them to my own package.json fixes the problem.
Module not found: Error: Can't resolve 'linkify-it' in '.../node_modules/draft-js-modal-plugin/lib/components/LinkModal'
@ ./~/draft-js-modal-plugin/lib/components/LinkModal/index.js 22:17-38
@ ./~/draft-js-modal-plugin/lib/index.js
Module not found: Error: Can't resolve 'tlds' in '.../node_modules/draft-js-modal-plugin/lib/components/LinkModal'
@ ./~/draft-js-modal-plugin/lib/components/LinkModal/index.js 26:12-27
@ ./~/draft-js-modal-plugin/lib/index.js
@ ./~/last-draft-js-toolbar-plugin/lib/components/getModalByType/index.js
@ ./~/last-draft-js-toolbar-plugin/lib/index.js
After running
yarn add last-draft-js-toolbar-plugin
and serving the app I'm seeing the following errors. Looks like the packageslinkify-it
andtlds
aren't specified in package.json. Adding them to my own package.json fixes the problem.