Skip to content

Missing dependencies #8

@cycleseven

Description

@cycleseven

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions