node-msgpack icon indicating copy to clipboard operation
node-msgpack copied to clipboard

not context-aware

Open TanninOne opened this issue 5 years ago • 0 comments

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.

TanninOne avatar Mar 25 '20 08:03 TanninOne