Skip to content

error: ‘class v8::Object’ has no member named ‘DefineOwnProperty’ #725

Description

@qqshfox

Looks like io.js 3.2 don't have DefineOwnProperty on v8::Object.

https://travis-ci.org/TooTallNate/ref/jobs/331158677

> weak@1.0.1 install /home/travis/build/TooTallNate/ref/node_modules/weak
> node-gyp rebuild
make: Entering directory `/home/travis/build/TooTallNate/ref/node_modules/weak/build'
  CXX(target) Release/obj.target/weakref/src/weakref.o
In file included from ../../nan/nan.h:197:0,
                 from ../src/weakref.cc:18:
../../nan/nan_maybe_43_inl.h: In function ‘Nan::Maybe<bool> Nan::DefineOwnProperty(v8::Local<v8::Object>, v8::Local<v8::String>, v8::Local<v8::Value>, v8::PropertyAttribute)’:
../../nan/nan_maybe_43_inl.h:112:15: error: ‘class v8::Object’ has no member named ‘DefineOwnProperty’
   return obj->DefineOwnProperty(isolate->GetCurrentContext(), key, value,
               ^
make: *** [Release/obj.target/weakref/src/weakref.o] Error 1
make: Leaving directory `/home/travis/build/TooTallNate/ref/node_modules/weak/build'

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions