Jump to content


TweenLite npm problem

Moderator Tag

Warning: Please note

This thread was started before GSAP 3 was released. Some information, especially the syntax, may be out of date for GSAP 3. Please see the GSAP 3 migration guide and release notes for more information about how to update the code to GSAP 3's syntax. 

Recommended Posts

Hello, i'm trying to use the Themepunch slider. I installed gsap with npm and imported TweenLite with this command: 



import TweenLite from 'gsap/TweenLite'


I also tried download the TweenLite.js file and import it as a normal component but i always get this error from themepunch:


Module not found: Error: Can't resolve 'TweenLite' in '/home/mat/pyprojects/django_lanivendole/lanivendole/saleor/static/js/components/rs-plugin-5/js/source'
 @ ./saleor/static/js/components/rs-plugin-5/js/source/jquery.themepunch.tools.js


Can anyone help me? Thank you!

Link to comment
Share on other sites

Welcome to the forums, @mtsorre. Have you asked the ThemePunch author? We didn't have anything to do with that product/tool. I'm not quite sure what to advise or troubleshoot here, but if you have any GSAP-specific questions we'd be happy to help. Did you "npm install gsap"? 

  • Like 1
Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
  • Recently Browsing   0 members

    • No registered users viewing this page.