Open springmeyer opened 6 years ago
@springmeyer It is doubtful that N_API will ever be back ported to Node 4. I can address this issue with a meaningful error message in the PR I'm preparing to address some remaining issues I've listed on this issue https://github.com/mapbox/node-pre-gyp/pull/345#issuecomment-379067786
I can address this issue with a meaningful error message in the PR I'm preparing to address some remaining issues I've listed on this issue #345 (comment)
👍
This should be addressed by the work at https://github.com/mapbox/node-pre-gyp/issues/402.
I found that if you add:
To the
package.json
binary
property of a node-pre-gyp enabled module it will lead to this error with node v4:This looks to be because
Array.includes
is not supported with node v4, so we'll either need to use a polyfill or useArray.indexOf
instead.@jschlight two questions for you: