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

While install npm on ngraph repository code it throws error #17

Open
MarudhuRk opened this issue Sep 27, 2017 · 0 comments
Open

While install npm on ngraph repository code it throws error #17

MarudhuRk opened this issue Sep 27, 2017 · 0 comments

Comments

@MarudhuRk
Copy link

When I was install the npm on ngraph it throws
deprecated error.

`marudhu@marudhu-Vostro-2420:~/Repository/word-duniya/ngraph$ npm install

[email protected] install /home/marudhu/Repository/word-duniya/ngraph/node_modules/contextify
node-gyp rebuild

make: Entering directory '/home/marudhu/Repository/word-duniya/ngraph/node_modules/contextify/build'
CXX(target) Release/obj.target/contextify/src/contextify.o
../src/contextify.cc: In static member function ‘static v8::Localv8::Context ContextWrap::createV8Context(v8::Localv8::Object)’:
../src/contextify.cc:131:68: warning: ‘v8::Localv8::Object v8::Function::NewInstance() const’ is deprecated: Use maybe version [-Wdeprecated-declarations]
Local wrapper = Nan::New(constructor)->NewInstance();
^
In file included from /home/marudhu/.node-gyp/7.10.0/include/node/v8.h:26:0,
from /home/marudhu/.node-gyp/7.10.0/include/node/node.h:42,
from ../src/contextify.cc:1:
/home/marudhu/.node-gyp/7.10.0/include/node/v8.h:3662:52: note: declared here
V8_DEPRECATED("Use maybe version", Local NewInstance() const);
^
/home/marudhu/.node-gyp/7.10.0/include/node/v8config.h:329:3: note: in definition of macro ‘V8_DEPRECATED’
declarator attribute((deprecated(message)))
^
../src/contextify.cc:150:16: error: ‘class v8::ObjectTemplate’ has no member named ‘SetAccessCheckCallbacks’
otmpl->SetAccessCheckCallbacks(GlobalPropertyNamedAccessCheck,
^
../src/contextify.cc: In static member function ‘static void ContextWrap::GlobalPropertyGetter(v8::Localv8::String, const Nan::PropertyCallbackInfov8::Value&)’:
../src/contextify.cc:182:80: warning: ‘v8::Localv8::Value v8::Object::GetRealNamedProperty(v8::Localv8::String)’ is deprecated: Use maybe version [-Wdeprecated-declarations]
Local rv = Nan::New(ctx->sandbox)->GetRealNamedProperty(property);
^
In file included from /home/marudhu/.node-gyp/7.10.0/include/node/v8.h:26:0,
from /home/marudhu/.node-gyp/7.10.0/include/node/node.h:42,
from ../src/contextify.cc:1:
/home/marudhu/.node-gyp/7.10.0/include/node/v8.h:3234:30: note: declared here
Local GetRealNamedProperty(Local key));
^
/home/marudhu/.node-gyp/7.10.0/include/node/v8config.h:329:3: note: in definition of macro ‘V8_DEPRECATED’
declarator attribute((deprecated(message)))
^
../src/contextify.cc: In static member function ‘static void ContextWrap::GlobalPropertyQuery(v8::Localv8::String, const Nan::PropertyCallbackInfov8::Integer&)’:
../src/contextify.cc:209:67: warning: ‘v8::Localv8::Value v8::Object::GetRealNamedProperty(v8::Localv8::String)’ is deprecated: Use maybe version [-Wdeprecated-declarations]
if (!Nan::New(ctx->sandbox)->GetRealNamedProperty(property).IsEmpty() ||
^
In file included from /home/marudhu/.node-gyp/7.10.0/include/node/v8.h:26:0,
from /home/marudhu/.node-gyp/7.10.0/include/node/node.h:42,
from ../src/contextify.cc:1:
/home/marudhu/.node-gyp/7.10.0/include/node/v8.h:3234:30: note: declared here
Local GetRealNamedProperty(Local key));
^
/home/marudhu/.node-gyp/7.10.0/include/node/v8config.h:329:3: note: in definition of macro ‘V8_DEPRECATED’
declarator attribute((deprecated(message)))
^
../src/contextify.cc:210:71: warning: ‘v8::Localv8::Value v8::Object::GetRealNamedProperty(v8::Localv8::String)’ is deprecated: Use maybe version [-Wdeprecated-declarations]
!Nan::New(ctx->proxyGlobal)->GetRealNamedProperty(property).IsEmpty()) {
^
In file included from /home/marudhu/.node-gyp/7.10.0/include/node/v8.h:26:0,
from /home/marudhu/.node-gyp/7.10.0/include/node/node.h:42,
from ../src/contextify.cc:1:
/home/marudhu/.node-gyp/7.10.0/include/node/v8.h:3234:30: note: declared here
Local GetRealNamedProperty(Local key));
^
/home/marudhu/.node-gyp/7.10.0/include/node/v8config.h:329:3: note: in definition of macro ‘V8_DEPRECATED’
declarator attribute((deprecated(message)))
^
contextify.target.mk:94: recipe for target 'Release/obj.target/contextify/src/contextify.o' failed
make: *** [Release/obj.target/contextify/src/contextify.o] Error 1
make: Leaving directory '/home/marudhu/Repository/word-duniya/ngraph/node_modules/contextify/build'
gyp ERR! build error
gyp ERR! stack Error: make failed with exit code: 2
gyp ERR! stack at ChildProcess.onExit (/usr/lib/node_modules/npm/node_modules/node-gyp/lib/build.js:258:23)
gyp ERR! stack at emitTwo (events.js:106:13)
gyp ERR! stack at ChildProcess.emit (events.js:194:7)
gyp ERR! stack at Process.ChildProcess._handle.onexit (internal/child_process.js:215:12)
gyp ERR! System Linux 4.4.0-77-generic
gyp ERR! command "/usr/bin/nodejs" "/usr/lib/node_modules/npm/node_modules/node-gyp/bin/node-gyp.js" "rebuild"
gyp ERR! cwd /home/marudhu/Repository/word-duniya/ngraph/node_modules/contextify
gyp ERR! node -v v7.10.0
gyp ERR! node-gyp -v v3.6.2
gyp ERR! not ok
npm WARN ngraph No repository field.
npm WARN ngraph No license field.

npm ERR! code ELIFECYCLE
npm ERR! errno 1
npm ERR! [email protected] install: node-gyp rebuild
npm ERR! Exit status 1
npm ERR!
npm ERR! Failed at the [email protected] install script.
npm ERR! This is probably not a problem with npm. There is likely additional logging output above.

npm ERR! A complete log of this run can be found in:
npm ERR! /home/marudhu/.npm/_logs/2017-09-27T09_10_16_267Z-debug.log
`

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