Jump to content

Search In
  • More options...
Find results that contain...
Find results in...


  • Content Count

  • Joined

  • Last visited

Community Reputation

0 Newbie

About 6la6T

  • Rank
  1. @OSUblake ok thanks for your informations 👌
  2. @ZachSaucier thanks a lot you solved it. Any idea why it was perfectly working in Locahost (when using "gsap/all" and "gsap/gsap-core") but not with the Netlify build ?
  3. Hi Zach, Thanks for your answer ! I did register ScrollTrigger but I saw that it's maybe a build issue... Here is my component code : import { ScrollTrigger } from 'gsap/all'; import gsap from 'gsap/gsap-core'; import React, { useEffect } from 'react' export default function ServicesBanner () { useEffect(() => { gsap.registerPlugin(ScrollTrigger) gsap.to(".services_banner_article", { scrollTrigger: { trigger: ".services_banner", start: "20% 10%", scrub: 0.3
  4. Hi, I start a React project using GSAP. Everything works perfectly when working in localhost. But I wanted to share the project using Netlify. When I go to the page it gives me an error : TypeError: r.utils.checkPrefix is not a function at Function.e.register (ScrollTrigger.js:1441) at nt (gsap-core.js:999) at gsap-core.js:3540 at Array.forEach (<anonymous>) at Object.registerPlugin (gsap-core.js:3539) at HeroBanner.js:19 at Dl (react-dom.production.min.js:262) at t.unstable_runWithPriority (scheduler.production.min.js:18) at