RedReign / FoundryVTT-BetterRolls5e

A module for modifying certain sheet functions on Foundry VTT Character sheets for D&D 5th Edition.
GNU General Public License v3.0
36 stars 67 forks source link

Error= Not allowed to register wrappers before the 'libWrapperReady' hook fires #361

Open aakister opened 2 years ago

aakister commented 2 years ago

This error shows up in the log. Better Rolls and Libwrapper are the only modules active. Using FVTT 9.242, BR 1.7.1, and LW 1.11.4.0.

foundry.js:316 A: Error detected in module Better Rolls for 5e. It is likely this module has not been updated for FVTT Version 9.

This is *not* a libWrapper bug.

Find information about this module here: https://github.com/RedReign/FoundryVTT-BetterRolls5e/tree/master/betterrolls5e

Ask the community for support:
- FoundryVTT Discord's #modules-troubleshooting channel: https://discord.gg/foundryvtt
- FoundryVTT Reddit: https://www.reddit.com/r/FoundryVTT

== Technical Details:
Detected by libWrapper.
Package ID= betterrolls5e
Error= Not allowed to register wrappers before the 'libWrapperReady' hook fires

[Detected 1 package: betterrolls5e]
    at Function.🎁register [as register] (https://-------------/modules/lib-wrapper/lib-wrapper.js:1:45720)
    at override (https://-------------/modules/betterrolls5e/scripts/patching/index.js:35:13)
    at patchCoreFunctions (https://-------------/modules/betterrolls5e/scripts/patching/index.js:19:2)
    at https://-------------/modules/betterrolls5e/scripts/index.js:29:2
    at Function._call (https://-------------/scripts/foundry.js:294:14)
    at Function.callAll (https://-------------/scripts/foundry.js:253:12)
    at Game.initialize (https://-------------/scripts/foundry.js:5403:11)
    at Z.🎁call_wrapped [as call_wrapped] (https://-------------/modules/lib-wrapper/lib-wrapper.js:1:30698)
    at Z.🎁call_wrapper [as call_wrapper] (https://-------------/modules/lib-wrapper/lib-wrapper.js:1:31631)
    at Game.🎁Game.prototype.initialize#0 (https://-------------/modules/lib-wrapper/lib-wrapper.js:1:27153)
    at window.addEventListener.once (https://-------------/scripts/foundry.js:62282:26)

Thanks for any help.