Cannot build docs from git on OSX

Hi all…

I am trying to build the docs straight from git but I am getting an error during ‘npm install’. I have looked at a previous thread on this but I am getting something completely different…

Here is the error:


contextify@0.1.15 install /Users/stephanebourque/Desktop/Dropbox/Books/particle/docs/node_modules/contextify
node-gyp rebuild

CXX(target) Release/obj.target/contextify/src/contextify.o
…/src/contextify.cc:131:56: warning: ‘NewInstance’ is deprecated [-Wdeprecated-declarations]
Local wrapper = Nan::New(constructor)->NewInstance();
^
/Users/stephanebourque/.node-gyp/7.5.0/include/node/v8.h:3292:52: note: ‘NewInstance’ has been explicitly marked deprecated here
V8_DEPRECATED(“Use maybe version”, Local NewInstance() const);
^
…/src/contextify.cc:150:16: error: no member named ‘SetAccessCheckCallbacks’ in 'v8::ObjectTemplate’
otmpl->SetAccessCheckCallbacks(GlobalPropertyNamedAccessCheck,
~~~~~ ^
…/src/contextify.cc:182:51: warning: ‘GetRealNamedProperty’ is deprecated [-Wdeprecated-declarations]
Local rv = Nan::New(ctx->sandbox)->GetRealNamedProperty(property);
^
/Users/stephanebourque/.node-gyp/7.5.0/include/node/v8.h:2949:30: note: ‘GetRealNamedProperty’ has been explicitly marked deprecated here
Local GetRealNamedProperty(Local key));


I then goes on with a few more deprecated warnings…

Anyway to bypass this?

Thanks

My apologies, the text from the error did not copy properly…


…/src/contextify.cc:150:16: error: no member named ‘SetAccessCheckCallbacks’ in 'v8::ObjectTemplate’
otmpl->SetAccessCheckCallbacks(GlobalPropertyNamedAccessCheck,


Thanks