Skip to main content
4RAUM
New Participant
August 23, 2020
Question

ERROR:'gsap' is not defined. [no-undef]

  • August 23, 2020
  • 1 reply
  • 4413 views

Hello,

i'am getting this error:

ERROR:'gsap' is not defined. [no-undef]

in my main.js file.

 

How can I solve this?

Thank you for your help!

Kind Regards

 

    This topic has been closed for replies.

    1 reply

    BenPleysier
    Braniac
    August 23, 2020

    You should go to the GreenSock site to get help.

     

    But if it is of any help, the error message says it all - you need to define 'gsap'.

    Wappler is the DMXzone-made Dreamweaver replacement and includes the best of their powerful extensions, as well as much more!
    4RAUM
    4RAUMAuthor
    New Participant
    August 23, 2020

    Hello Ben,

    thank you for your answer.

    I'am sure, it is not a GreenSock Problem. When I open the same project in VisualStudioCode Editor there is no error and everything works perfect.

    But Dreamweaver is still my favorite Editor. I don't want to switch.

    Kind Regards

    BenPleysier
    Braniac
    August 23, 2020

    Sorry, I had the impression that the error stopped the code from working. If it is only a linting error in Dreamweaver, there are a couple of things that you can do:

    1. Ignore the error message

    2. Turn Linting off

    3. Modify the Linting settings as in https://helpx.adobe.com/au/dreamweaver/using/linting-code.html

    Wappler is the DMXzone-made Dreamweaver replacement and includes the best of their powerful extensions, as well as much more!