Highlighted

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

Community Beginner ,
Aug 23, 2020

Copy link to clipboard

Copied

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

 

Bildschirmfoto 2020-08-23 um 09.47.43.png

Views

150

Likes

Translate

Translate

Report

Report
Community Guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more

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

Community Beginner ,
Aug 23, 2020

Copy link to clipboard

Copied

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

 

Bildschirmfoto 2020-08-23 um 09.47.43.png

Views

151

Likes

Translate

Translate

Report

Report
Community Guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
Aug 23, 2020 0
Adobe Community Professional ,
Aug 23, 2020

Copy link to clipboard

Copied

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'.


Ben

Likes

Translate

Translate

Report

Report
Community Guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
Reply
Loading...
Aug 23, 2020 0
Community Beginner ,
Aug 23, 2020

Copy link to clipboard

Copied

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

Likes

Translate

Translate

Report

Report
Community Guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
Reply
Loading...
Aug 23, 2020 0
Adobe Community Professional ,
Aug 23, 2020

Copy link to clipboard

Copied

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


Ben

Likes

Translate

Translate

Report

Report
Community Guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
Reply
Loading...
Aug 23, 2020 0
4RAUM LATEST
Community Beginner ,
Aug 25, 2020

Copy link to clipboard

Copied

Thank you Ben!

Likes

Translate

Translate

Report

Report
Community Guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
Reply
Loading...
Aug 25, 2020 0