You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
It looks like the canvas module was compiled with an earlier version of node-addon-api, and as a result introduces a dependency on references to v8 functions, which may lead to compatibility issues with later versions of nodejs, or with non-v8 napi runtimes.
Please provide the issue in the issue template. Unless you're installing from GitHub, you're using the NAN version still, as we haven't published the NAPI release yet.
It looks like the canvas module was compiled with an earlier version of
node-addon-api
, and as a result introduces a dependency on references to v8 functions, which may lead to compatibility issues with later versions of nodejs, or with non-v8 napi runtimes.Under linux, this can be seen with objdump:
objdump -R node_modules/canvas/build/Release/canvas.node | grep v8
This command returns something like the following:
Example:
is a reference to v8::Context::GetIsolate().
In order to fix this issue, it may be necessary to change to a newer version
node-addon-api
and do some testing.The text was updated successfully, but these errors were encountered: