Skip to content

Tween is not a function on meteor. #23

@capi1O

Description

@capi1O

Using meteor 1.8, not doing server side rendering.

First on meteor startup after installing this module I have the following warning :

Unable to resolve some modules:

  "tween" in project/node_modules/scroll-to/index.js (web.browser.legacy)

If you notice problems related to these missing modules, consider running:

  meteor npm install --save tween

I also tried to install npm install component/tween but issue remained.

Then when trying scrollToComponent(someRef) I got the error Tween is not a function.

I tried to require it in componentDidMount and also tried react-scroll-to-component-ssr (see issue #8)
but same error.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions