Gsap not working with Sveltekit typescript project in GSAP (Flash) Posted January 16, 2023 Hi, I've setup my project with sveltekit (used npm create svelte@latest command). I installed gsap with npm and tried a basic animation. It's throwing TypeError: Cannot read properties of undefined (reading 'querySelectorAll') error. How can i resolve this?
Gsap not working with Sveltekit typescript project
in GSAP (Flash)
Posted
Hi,
I've setup my project with sveltekit (used
npm create svelte@latest command
). I installed gsap with npm and tried a basic animation.It's throwing TypeError: Cannot read properties of undefined (reading 'querySelectorAll') error. How can i resolve this?