Skip to content
This repository has been archived by the owner on Jul 14, 2021. It is now read-only.

not context-aware #74

Open
TanninOne opened this issue Mar 25, 2020 · 0 comments
Open

not context-aware #74

TanninOne opened this issue Mar 25, 2020 · 0 comments

Comments

@TanninOne
Copy link

I'm using this module from electron and recently electron has declared modules as deprecated that aren't context-aware, the error message is
(node:11920) Electron: Loading non-context-aware native module in renderer: '\\?\...\node_modules\msgpack\build\Release\msgpackBinding.node'. This is deprecated, see https://github.com/electron/electron/issues/18397.

At some point electron will probably downright refuse such modules.

Fixing this can be as simple as changing the around a few of the NODE_ macros or fairly complicated if the module isn't thread safe.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant