react-locomotive-scroll icon indicating copy to clipboard operation
react-locomotive-scroll copied to clipboard

Module not found: Can't resolve 'tslib'

Open decemberly opened this issue 2 years ago • 2 comments

Hi! I just followed the install instructions in the readme, then I got this error:

./node_modules/react-locomotive-scroll/module/LocomotiveScroll.context.js:4:0
Module not found: Can't resolve 'tslib'
null

Any idea why this happens, and how I can make it work?

decemberly avatar Mar 16 '22 14:03 decemberly

Hi! I just followed the install instructions in the readme, then I got this error:

./node_modules/react-locomotive-scroll/module/LocomotiveScroll.context.js:4:0
Module not found: Can't resolve 'tslib'
null

Any idea why this happens, and how I can make it work?

Same issue :)

sijin-raj avatar Dec 08 '22 19:12 sijin-raj

Not exactly the same issue, but I fixed my error by installing tslib. Please give this a try: "npm install --save tslib"

tauqeer1040 avatar Jan 15 '23 10:01 tauqeer1040