Ok, i solved this issue but i get this error when trying to import the gsap module like this
import { gsap } from "gsap"
i get this error: Uncaught TypeError: Failed to resolve module specifier "gsap". Relative references must start with either "/", "./", or "../"
though i can reach and implement the method from the module
gsap.to(".duck", {duration: 2, x: 300})