Teshynil / combatready

Combat ready indicator to remind players of their turn, as well as time taken.
GNU General Public License v3.0
5 stars 1 forks source link

Uncaught (in promise) ReferenceError: can't access lexical declaration 'gsap' before initialization #24

Closed iconmaster5326 closed 3 months ago

iconmaster5326 commented 3 months ago

The following exception occurs when the animations attempt to be displayed:

Uncaught (in promise) ReferenceError: can't access lexical declaration 'gsap' before initialization
[Detected 1 package: combatready]
    cleanAnimations https://assets.forge-vtt.com/bazaar/modules/combatready/5.0.1/module/animations.js:274
    toggleCheck https://assets.forge-vtt.com/bazaar/modules/combatready/5.0.1/module/combatReady.js:347
    <anonymous> https://assets.forge-vtt.com/bazaar/modules/combatready/5.0.1/combatready.js:77
    #call https://REDACTED.forge-vtt.com/scripts/foundry.js:730
    callAll https://REDACTED.forge-vtt.com/scripts/foundry.js:687
    setupGame https://REDACTED.forge-vtt.com/scripts/foundry.js:8746

This is on the following versions:

image

Attached is my plugin list:

image

Teshynil commented 3 months ago

@iconmaster5326 ~Could you share the configuration you are using for the module~ Just a question it was working before or you just added the module

Teshynil commented 3 months ago

@iconmaster5326 I updated the module, this should fix your problem, if you have any comments feel free to leave them here, i will not close this issue until i hear from you or enough time passes

iconmaster5326 commented 3 months ago

It was fixed! Thank you so much!