Known Issue: Connector dependencies fail to build for Node 18.20, 20.12 and 21.6
Alxe opened this issue · comments
Due to a change in upstream Node, a Connector dependency fails to build. This change was first instroduced in Node 21.6 and later backported to Node 18.20 and Node 20.12.
The error trace contains at the very least the following:
node-addon-api/napi-inl.h:65:47: error: invalid conversion from ‘napi_finalize’ {aka ‘void (*)(napi_env__*, void*, void*)’} to ‘node_api_nogc_finalize’ {aka ‘void (*)(const napi_env__*, void*, void*)’} [-fpermissive]
After the migration to koffi this issue is fixed in develop and will be included in a future release