Hi guys,
I just want to contribute with my findings in case others ran into this. I had been struggling getting GSAP's Draggable to work with Next.js and have finally found a solution. Next.js does Server Side Rendering (SSR) so pages rendered on the server had issues loading the GSAP NPM modules. Please note that pages worked just fine client-side.
ERROR:
import TweenLite, { _gsScope, globals, EventDispatcher } from "./TweenLite.js";
^^^^^^
SyntaxError: Unexpect