Skip to content

Module build failed: Error: Cannot find module 'tween' #14

@dan-ator

Description

@dan-ator

I am using react-scroll-to-component, which relies upon scroll-to. When I try to build, it cannot find 'tween', so I rename to 'component-tween', but then on and on with other errors in other dependencies installed along with scroll-to. But if I comment out my use of react-scroll-to-component, webpack can build. Then I un-comment and it is fine and everything works. Any idea what I can do, as this seems like less than ideal?

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