ruipin/fvtt-lib-wrapper

[BUG?] libWrapper: A non-critical error occurred while initializing libWrapper.

Closed this issue · 4 comments

I'm new to the Foundry but am getting the same warning whenever I load a game world:

libWrapper: A non-critical error occurred while initializing libWrapper. Could not setup 'Hooks._call' wrapper. – SyntaxError: Cannot use the keyword 'function' as a function name. — listeners.js:91 setupModules — setupModules.js:36 SyntaxError: Cannot use the keyword 'function' as a function name.

The error occurs in the function init_pre_v9p2_listeners().

Specific line: const patched_fn = global_eval(patched)?.();

Console:

https://www.dropbox.com/s/zxm190kimvlpfrh/Screenshot%202021-12-18%20at%2017.36.52.png?dl=0

Any ideas?

Which version of FVTT are you running? And which browser (and version) are you using?

For whatever it is worth, this isn't a critical issue, but it's not supposed to happen, and I've never seen it reported by anyone else.

Which version of FVTT are you running?
0.8.9

What about your browser (including version)? And the libWrapper version you have installed?

Closing due to inactivity, since I cannot reproduce and am not aware of anyone else having this issue.
Happy to re-open if the information above is provided.