Skip to content

error in @axosoft/nan when building #2035

@gpetrov

Description

@gpetrov

When building from source, we get:

npm error In file included from ../../@axosoft/nan/nan.h:302:
npm error ../../@axosoft/nan/nan_maybe_43_inl.h:210:15: error: no member named 'SetPrototype' in 'v8::Object'; did you mean 'SetPrototypeV2'?
npm error 210 |   return obj->SetPrototype(isolate->GetCurrentContext(), prototype);
npm error       |               ^~~~~~~~~~~~
npm error       |               SetPrototypeV2
npm error /Users/george/Library/Caches/node-gyp/39.2.3/include/node/v8-object.h:464:37: note: 'SetPrototypeV2' declared here
npm error   464 |   V8_WARN_UNUSED_RESULT Maybe<bool> SetPrototypeV2(Local<Context
npm error > context,

@zawata please bump also @axosoft/nan - or can the original nan be used now?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    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