Skip to content

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

Description

@adrian-gierakowski

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Fields

    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions