when compiling against node 18.14.2, I get the following error:
nan/nan_typedarray_contents.h:34:43: error: 'class v8::ArrayBuffer' has no member named 'GetContents'
34 | data = static_cast<char*>(buffer->GetContents().Data()) + byte_offset;
upgrading nan to 2.15 (as recommended here fixed it
when compiling against node 18.14.2, I get the following error:
upgrading nan to 2.15 (as recommended here fixed it