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.
Using meteor 1.8, not doing server side rendering.
First on meteor startup after installing this module I have the following warning :
I also tried to install
npm install component/tween
but issue remained.Then when trying
scrollToComponent(someRef)
I got the errorTween 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.