Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

error: 'class v8::ArrayBuffer' has no member named 'GetContents' (node 18.14.2) #94

Open
adrian-gierakowski opened this issue Sep 4, 2023 · 0 comments

Comments

@adrian-gierakowski
Copy link

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant