** upon further inspection a console.log(Draggable); comes up as undefined, This error is being thrown due to the Draggable module not being successfully included in the component.
I am using the npm library for gsap on my angular project, and have been attempting to implement this into an angular component.
The error I am receiving is "ERROR TypeError: Cannot read property 'create' of undefined"
I have a fairly standard angular4 component pictured below.
I did the standard "npm install gsap"
I include the import statement for Draggable according to the npm repo for gsap
I've looked on forums, and some past answers from 2016 say to include the library with a link in webpack, however, it seems like it would defeat the purpose of having a node_module to import.