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
{{ message }}
Repository navigation
Assertion failed in napi_get_last_error_info for experimental N-API #30487
If NODE_EXPERIMENTAL is defined then napi_get_last_error_info() asserts due to the fact that it ignores experimental error codes (e.g. napi_bigint_expected):
#28702 should fix this issue. It should be backported to v10.x and v8.x.
Documentation does not say clearly whether nodejs should be recompiled with NODE_EXPERIMENTAL or not.
NODE_EXPERIMENTAL doesn't affect how Node.js N-API behaves, it's just a switch turning experimental APIs ON so that we could use these experimental API in our addons.
This has now been made part of v10.17.0 with 14e7a35. I don't believe it has much of a chance of landing in v8.x, given that v8.x has only a few weeks left before it goes EOL.
Activity
legendecas commentedon Nov 18, 2019
#28702 should fix this issue. It should be backported to v10.x and v8.x.
NODE_EXPERIMENTAL doesn't affect how Node.js N-API behaves, it's just a switch turning experimental APIs ON so that we could use these experimental API in our addons.
gabrielschulhof commentedon Dec 5, 2019
This has now been made part of v10.17.0 with 14e7a35. I don't believe it has much of a chance of landing in v8.x, given that v8.x has only a few weeks left before it goes EOL.