-
Notifications
You must be signed in to change notification settings - Fork 10
npm install error: Node-gyp rebuild #362
Comments
Now I'm using http server instead |
@VuThuyThuy97 Hey i was trying to install but getting same error with NPM can you please share how did you fixed this ?? ` $ npm i --verb` |
Can you test with an older Node version?
It is possible that node tutorials are not compatible with latest node
versions...
El lun., 22 abr. 2019 16:22, Nasiruddin Saiyed <notifications@github.com>
escribió:
… @VuThuyThuy97 <https://github.com/VuThuyThuy97> Hey i was trying to
install but getting same error with NPM can you please share how did you
fixed this ??
`
$ npm i --verb
npm info it worked if it ends with ok
npm verb cli [ '/usr/bin/node', '/usr/bin/npm', 'i', '--verb' ]
npm info using ***@***.***
npm info using ***@***.***
npm verb npm-session 741a8543fa350c77
npm info lifecycle ***@***.***: ***@***.***
npm timing stage:loadCurrentTree Completed in 10ms
npm timing stage:loadIdealTree:cloneCurrentTree Completed in 1ms
npm timing stage:loadIdealTree:loadShrinkwrap Completed in 46ms
npm http fetch GET 200 https://registry.npmjs.org/kurento-client 45ms (from cache)
npm http fetch GET 200 https://registry.npmjs.org/error-tojson 35ms (from cache)
npm http fetch GET 200 https://registry.npmjs.org/extend 33ms (from cache)
npm http fetch GET 200 https://registry.npmjs.org/inherits 28ms (from cache)
npm http fetch GET 200 https://registry.npmjs.org/promise 37ms (from cache)
npm http fetch GET 200 https://registry.npmjs.org/kurento-client-core 31ms (from cache)
npm http fetch GET 200 https://registry.npmjs.org/kurento-client-elements 31ms (from cache)
npm http fetch GET 200 https://registry.npmjs.org/kurento-client-filters 31ms (from cache)
npm http fetch GET 200 https://registry.npmjs.org/es6-promise 44ms (from cache)
npm http fetch GET 200 https://registry.npmjs.org/async 54ms (from cache)
npm http fetch GET 200 https://registry.npmjs.org/kurento-jsonrpc 18ms (from cache)
npm http fetch GET 200 https://registry.npmjs.org/promisecallback 19ms (from cache)
npm http fetch GET 200 https://registry.npmjs.org/asap 13ms (from cache)
npm http fetch GET 200 https://registry.npmjs.org/lodash 16ms (from cache)
npm http fetch GET 200 https://registry.npmjs.org/bufferutil 24ms (from cache)
npm http fetch GET 200 https://registry.npmjs.org/utf-8-validate 25ms (from cache)
npm http fetch GET 200 https://registry.npmjs.org/ws 34ms (from cache)
npm http fetch GET 200 https://registry.npmjs.org/bindings 16ms (from cache)
npm http fetch GET 200 https://registry.npmjs.org/bindings 13ms (from cache)
npm http fetch GET 200 https://registry.npmjs.org/nan 23ms (from cache)
npm http fetch GET 200 https://registry.npmjs.org/nan 30ms (from cache)
npm http fetch GET 304 https://registry.npmjs.org/bower 263ms (from cache)
npm WARN deprecated ***@***.***: We don't recommend using Bower for new projects. Please consider Yarn and Webpack or Parcel. You can read how to migrate legacy project here: https://bower.io/blog/2017/how-to-migrate-away-from-bower/
npm http fetch GET 200 https://registry.npmjs.org/websocket-stream 10ms (from cache)
npm info lifecycle ***@***.***: ***@***.***
npm info lifecycle ***@***.***: ***@***.***
npm http fetch GET 200 https://registry.npmjs.org/backoff 8ms (from cache)
npm http fetch GET 200 https://registry.npmjs.org/isbuffer 18ms (from cache)
npm http fetch GET 200 https://registry.npmjs.org/through 21ms (from cache)
npm http fetch GET 200 https://registry.npmjs.org/tinycolor 8ms (from cache)
npm http fetch GET 200 https://registry.npmjs.org/commander 11ms (from cache)
npm timing stage:loadIdealTree:loadAllDepsIntoIdealTree Completed in 3415ms
npm timing stage:loadIdealTree Completed in 3510ms
npm timing stage:generateActionsToTake Completed in 33ms
npm verb correctMkdir /home/nasiruddin/.npm/_locks correctMkdir not in flight; initializing
npm timing audit compress Completed in 4ms
npm info audit Submitting payload of 4246bytes
npm verb lock using /home/nasiruddin/.npm/_locks/staging-35df3a30db7de892.lock for /home/nasiruddin/Desktop/March-19/LocalChat/kurento-tutorial-node/kurento-one2one-call/node_modules/.staging
npm timing audit submit Completed in 773ms
npm http fetch POST 200 https://registry.npmjs.org/-/npm/v1/security/audits/quick 773ms
npm timing audit body Completed in 3ms
npm info lifecycle ***@***.***: ***@***.***
npm info lifecycle ***@***.***: ***@***.***
npm timing action:extract Completed in 2848ms
npm timing action:finalize Completed in 181ms
npm timing action:refresh-package-json Completed in 329ms
npm info lifecycle ***@***.***: ***@***.***
npm info lifecycle ***@***.***: ***@***.***
npm info lifecycle ***@***.***: ***@***.***
npm info lifecycle ***@***.***: ***@***.***
npm info lifecycle ***@***.***: ***@***.***
npm info lifecycle ***@***.***: ***@***.***
npm info lifecycle ***@***.***: ***@***.***
npm info lifecycle ***@***.***: ***@***.***
npm info lifecycle ***@***.***: ***@***.***
npm info lifecycle ***@***.***: ***@***.***
npm info lifecycle ***@***.***: ***@***.***
npm info lifecycle ***@***.***: ***@***.***
npm info lifecycle ***@***.***: ***@***.***
npm info lifecycle ***@***.***: ***@***.***
npm info lifecycle ***@***.***: ***@***.***
npm info lifecycle ***@***.***: ***@***.***
npm info lifecycle ***@***.***: ***@***.***
npm info lifecycle ***@***.***: ***@***.***
npm info lifecycle ***@***.***: ***@***.***
npm info lifecycle ***@***.***: ***@***.***
npm info lifecycle ***@***.***: ***@***.***
npm info lifecycle ***@***.***: ***@***.***
npm info lifecycle ***@***.***: ***@***.***
npm info lifecycle ***@***.***: ***@***.***
npm info lifecycle ***@***.***: ***@***.***
npm info lifecycle ***@***.***: ***@***.***
npm info lifecycle ***@***.***: ***@***.***
npm info lifecycle ***@***.***: ***@***.***
npm info lifecycle ***@***.***: ***@***.***
npm info lifecycle ***@***.***: ***@***.***
npm info lifecycle ***@***.***: ***@***.***
npm info lifecycle ***@***.***: ***@***.***
npm info lifecycle ***@***.***: ***@***.***
npm info lifecycle ***@***.***: ***@***.***
npm info lifecycle ***@***.***: ***@***.***
npm info lifecycle ***@***.***: ***@***.***
npm info lifecycle ***@***.***: ***@***.***
npm info lifecycle ***@***.***: ***@***.***
npm info lifecycle ***@***.***: ***@***.***
npm info lifecycle ***@***.***: ***@***.***
npm info lifecycle ***@***.***: ***@***.***
npm info lifecycle ***@***.***: ***@***.***
npm info lifecycle ***@***.***: ***@***.***
npm info lifecycle ***@***.***: ***@***.***
npm info lifecycle ***@***.***: ***@***.***
npm info lifecycle ***@***.***: ***@***.***
npm info lifecycle ***@***.***: ***@***.***
npm info lifecycle ***@***.***: ***@***.***
npm info lifecycle ***@***.***: ***@***.***
npm info lifecycle ***@***.***: ***@***.***
npm info lifecycle ***@***.***: ***@***.***
npm info lifecycle ***@***.***: ***@***.***
npm info lifecycle ***@***.***: ***@***.***
npm info lifecycle ***@***.***: ***@***.***
npm info lifecycle ***@***.***: ***@***.***
npm info lifecycle ***@***.***: ***@***.***
npm info lifecycle ***@***.***: ***@***.***
npm info lifecycle ***@***.***: ***@***.***
npm info lifecycle ***@***.***: ***@***.***
npm info lifecycle ***@***.***: ***@***.***
npm info lifecycle ***@***.***: ***@***.***
npm info lifecycle ***@***.***: ***@***.***
npm info lifecycle ***@***.***: ***@***.***
npm info lifecycle ***@***.***: ***@***.***
npm info lifecycle ***@***.***: ***@***.***
npm info lifecycle ***@***.***: ***@***.***
npm info lifecycle ***@***.***: ***@***.***
npm info lifecycle ***@***.***: ***@***.***
npm info lifecycle ***@***.***: ***@***.***
npm info lifecycle ***@***.***: ***@***.***
npm info lifecycle ***@***.***: ***@***.***
npm info lifecycle ***@***.***: ***@***.***
npm info lifecycle ***@***.***: ***@***.***
npm timing action:preinstall Completed in 76ms
npm info linkStuff ***@***.***
npm info linkStuff ***@***.***
npm info linkStuff ***@***.***
npm info linkStuff ***@***.***
npm info linkStuff ***@***.***
npm info linkStuff ***@***.***
npm info linkStuff ***@***.***
npm info linkStuff ***@***.***
npm info linkStuff ***@***.***
npm info linkStuff ***@***.***
npm info linkStuff ***@***.***
npm info linkStuff ***@***.***
npm info linkStuff ***@***.***
npm info linkStuff ***@***.***
npm info linkStuff ***@***.***
npm info linkStuff ***@***.***
npm info linkStuff ***@***.***
npm info linkStuff ***@***.***
npm info linkStuff ***@***.***
npm info linkStuff ***@***.***
npm info linkStuff ***@***.***
npm info linkStuff ***@***.***
npm info linkStuff ***@***.***
npm info linkStuff ***@***.***
npm info linkStuff ***@***.***
npm info linkStuff ***@***.***
npm info linkStuff ***@***.***
npm info linkStuff ***@***.***
npm info linkStuff ***@***.***
npm info linkStuff ***@***.***
npm info linkStuff ***@***.***
npm info linkStuff ***@***.***
npm info linkStuff ***@***.***
npm verb linkBins [ { mime: 'cli.js' },
npm verb linkBins '/home/nasiruddin/Desktop/March-19/LocalChat/kurento-tutorial-node/kurento-one2one-call/node_modules/.bin',
npm verb linkBins false ]
npm info linkStuff ***@***.***
npm info linkStuff ***@***.***
npm info linkStuff ***@***.***
npm info linkStuff ***@***.***
npm info linkStuff ***@***.***
npm info linkStuff ***@***.***
npm info linkStuff ***@***.***
npm info linkStuff ***@***.***
npm info linkStuff ***@***.***
npm info linkStuff ***@***.***
npm verb linkBins [ { 'node-gyp-build': './bin.js',
npm verb linkBins 'node-gyp-build-optional': './optional.js',
npm verb linkBins 'node-gyp-build-test': './build-test.js' },
npm verb linkBins '/home/nasiruddin/Desktop/March-19/LocalChat/kurento-tutorial-node/kurento-one2one-call/node_modules/.bin',
npm verb linkBins false ]
npm info linkStuff ***@***.***
npm info linkStuff ***@***.***
npm info linkStuff ***@***.***
npm info linkStuff ***@***.***
npm info linkStuff ***@***.***
npm info linkStuff ***@***.***
npm info linkStuff ***@***.***
npm info linkStuff ***@***.***
npm info linkStuff ***@***.***
npm info linkStuff ***@***.***
npm info linkStuff ***@***.***
npm info linkStuff ***@***.***
npm info linkStuff ***@***.***
npm info linkStuff ***@***.***
npm info linkStuff ***@***.***
npm info linkStuff ***@***.***
npm info linkStuff ***@***.***
npm info linkStuff ***@***.***
npm info linkStuff ***@***.***
npm info linkStuff ***@***.***
npm info linkStuff ***@***.***
npm info linkStuff ***@***.***
npm info linkStuff ***@***.***
npm verb linkBins [ { wscat: './bin/wscat' },
npm verb linkBins '/home/nasiruddin/Desktop/March-19/LocalChat/kurento-tutorial-node/kurento-one2one-call/node_modules/websocket-stream/node_modules/.bin',
npm verb linkBins false ]
npm info linkStuff ***@***.***
npm info linkStuff ***@***.***
npm info linkStuff ***@***.***
npm verb linkBins [ { bower: 'bin/bower' },
npm verb linkBins '/home/nasiruddin/Desktop/March-19/LocalChat/kurento-tutorial-node/kurento-one2one-call/node_modules/.bin',
npm verb linkBins false ]
npm info linkStuff ***@***.***
npm info linkStuff ***@***.***
npm info linkStuff ***@***.***
npm info linkStuff ***@***.***
npm timing action:build Completed in 113ms
npm info lifecycle ***@***.***: ***@***.***
npm info lifecycle ***@***.***: ***@***.***
npm info lifecycle ***@***.***: ***@***.***
npm info lifecycle ***@***.***: ***@***.***
npm info lifecycle ***@***.***: ***@***.***
npm info lifecycle ***@***.***: ***@***.***
npm info lifecycle ***@***.***: ***@***.***
npm info lifecycle ***@***.***: ***@***.***
npm info lifecycle ***@***.***: ***@***.***
npm info lifecycle ***@***.***: ***@***.***
npm info lifecycle ***@***.***: ***@***.***
npm info lifecycle ***@***.***: ***@***.***
npm info lifecycle ***@***.***: ***@***.***
npm info lifecycle ***@***.***: ***@***.***
npm info lifecycle ***@***.***: ***@***.***
npm info lifecycle ***@***.***: ***@***.***
npm info lifecycle ***@***.***: ***@***.***
npm info lifecycle ***@***.***: ***@***.***
npm info lifecycle ***@***.***: ***@***.***
npm info lifecycle ***@***.***: ***@***.***
npm info lifecycle ***@***.***: ***@***.***
npm info lifecycle ***@***.***: ***@***.***
npm info lifecycle ***@***.***: ***@***.***
npm info lifecycle ***@***.***: ***@***.***
npm info lifecycle ***@***.***: ***@***.***
npm info lifecycle ***@***.***: ***@***.***
npm info lifecycle ***@***.***~install: ***@***.***
> ***@***.*** install /home/nasiruddin/Desktop/March-19/LocalChat/kurento-tutorial-node/kurento-one2one-call/node_modules/kurento-jsonrpc/node_modules/utf-8-validate
> node-gyp rebuild
gyp info it worked if it ends with ok
gyp verb cli [ '/usr/bin/node',
gyp verb cli '/usr/lib/node_modules/npm/node_modules/node-gyp/bin/node-gyp.js',
gyp verb cli 'rebuild' ]
gyp info using ***@***.***
gyp info using ***@***.*** | linux | x64
gyp verb command rebuild []
gyp verb command clean []
gyp verb clean removing "build" directory
gyp verb command configure []
gyp verb check python checking for Python executable "python2" in the PATH
gyp verb which succeeded python2 /usr/bin/python2
gyp verb check python version /usr/bin/python2 -c "import sys; print "2.7.15 <span style="background-color:#2E3436"><font color="#D3D7CF">gyp</font></span> <span style="background-color:#2E3436"><font color="#3465A4">verb</font></span> <font color="#75507B">check python version</font> .%s.%s" % sys.version_info[:3];" returned: %j
gyp verb get node dir no --target version specified, falling back to host node version: 10.15.3
gyp verb command install [ '10.15.3' ]
gyp verb install input version string "10.15.3"
gyp verb install installing version: 10.15.3
gyp verb install --ensure was passed, so won't reinstall if already installed
gyp verb install version is already installed, need to check "installVersion"
gyp verb got "installVersion" 9
gyp verb needs "installVersion" 9
gyp verb install version is good
gyp verb get node dir target node version installed: 10.15.3
gyp verb build dir attempting to create "build" dir: /home/nasiruddin/Desktop/March-19/LocalChat/kurento-tutorial-node/kurento-one2one-call/node_modules/kurento-jsonrpc/node_modules/utf-8-validate/build
gyp verb build dir "build" dir needed to be created? /home/nasiruddin/Desktop/March-19/LocalChat/kurento-tutorial-node/kurento-one2one-call/node_modules/kurento-jsonrpc/node_modules/utf-8-validate/build
gyp verb build/config.gypi creating config file
gyp verb build/config.gypi writing out config file: /home/nasiruddin/Desktop/March-19/LocalChat/kurento-tutorial-node/kurento-one2one-call/node_modules/kurento-jsonrpc/node_modules/utf-8-validate/build/config.gypi
gyp verb config.gypi checking for gypi file: /home/nasiruddin/Desktop/March-19/LocalChat/kurento-tutorial-node/kurento-one2one-call/node_modules/kurento-jsonrpc/node_modules/utf-8-validate/config.gypi
gyp verb common.gypi checking for gypi file: /home/nasiruddin/Desktop/March-19/LocalChat/kurento-tutorial-node/kurento-one2one-call/node_modules/kurento-jsonrpc/node_modules/utf-8-validate/common.gypi
gyp verb gyp gyp format was not specified; forcing "make"
gyp info spawn /usr/bin/python2
gyp info spawn args [ '/usr/lib/node_modules/npm/node_modules/node-gyp/gyp/gyp_main.py',
gyp info spawn args 'binding.gyp',
gyp info spawn args '-f',
gyp info spawn args 'make',
gyp info spawn args '-I',
gyp info spawn args '/home/nasiruddin/Desktop/March-19/LocalChat/kurento-tutorial-node/kurento-one2one-call/node_modules/kurento-jsonrpc/node_modules/utf-8-validate/build/config.gypi',
gyp info spawn args '-I',
gyp info spawn args '/usr/lib/node_modules/npm/node_modules/node-gyp/addon.gypi',
gyp info spawn args '-I',
gyp info spawn args '/home/nasiruddin/.node-gyp/10.15.3/include/node/common.gypi',
gyp info spawn args '-Dlibrary=shared_library',
gyp info spawn args '-Dvisibility=default',
gyp info spawn args '-Dnode_root_dir=/home/nasiruddin/.node-gyp/10.15.3',
gyp info spawn args '-Dnode_gyp_dir=/usr/lib/node_modules/npm/node_modules/node-gyp',
gyp info spawn args '-Dnode_lib_file=/home/nasiruddin/.node-gyp/10.15.3/<(target_arch)/node.lib',
gyp info spawn args '-Dmodule_root_dir=/home/nasiruddin/Desktop/March-19/LocalChat/kurento-tutorial-node/kurento-one2one-call/node_modules/kurento-jsonrpc/node_modules/utf-8-validate',
gyp info spawn args '-Dnode_engine=v8',
gyp info spawn args '--depth=.',
gyp info spawn args '--no-parallel',
gyp info spawn args '--generator-output',
gyp info spawn args 'build',
gyp info spawn args '-Goutput_dir=.' ]
gyp verb command build []
gyp verb build type Release
gyp verb architecture x64
gyp verb node dev dir /home/nasiruddin/.node-gyp/10.15.3
gyp verb which succeeded for make /usr/bin/make
gyp info spawn make
gyp info spawn args [ 'V=1', 'BUILDTYPE=Release', '-C', 'build' ]
make: Entering directory '/home/nasiruddin/Desktop/March-19/LocalChat/kurento-tutorial-node/kurento-one2one-call/node_modules/kurento-jsonrpc/node_modules/utf-8-validate/build'
g++ '-DNODE_GYP_MODULE_NAME=validation' '-DUSING_UV_SHARED=1' '-DUSING_V8_SHARED=1' '-DV8_DEPRECATION_WARNINGS=1' '-D_LARGEFILE_SOURCE' '-D_FILE_OFFSET_BITS=64' '-DBUILDING_NODE_EXTENSION' -I/home/nasiruddin/.node-gyp/10.15.3/include/node -I/home/nasiruddin/.node-gyp/10.15.3/src -I/home/nasiruddin/.node-gyp/10.15.3/deps/openssl/config -I/home/nasiruddin/.node-gyp/10.15.3/deps/openssl/openssl/include -I/home/nasiruddin/.node-gyp/10.15.3/deps/uv/include -I/home/nasiruddin/.node-gyp/10.15.3/deps/zlib -I/home/nasiruddin/.node-gyp/10.15.3/deps/v8/include -I../../nan -fPIC -pthread -Wall -Wextra -Wno-unused-parameter -m64 -O2 -fno-omit-frame-pointer -fno-rtti -fno-exceptions -std=gnu++1y -MMD -MF ./Release/.deps/Release/obj.target/validation/src/validation.o.d.raw -c -o Release/obj.target/validation/src/validation.o ../src/validation.cc
In file included from *../../nan/nan.h:190:0*,
from *../src/validation.cc:15*:
*../../nan/nan_maybe_43_inl.h:* In function ‘*Nan::Maybe<bool> Nan::ForceSet(v8::Local<v8::Object>, v8::Local<v8::Value>, v8::Local<v8::Value>, v8::PropertyAttribute)*’:
*../../nan/nan_maybe_43_inl.h:88:15:* *error: *‘*class v8::Object*’ has no member named ‘*ForceSet*’
return obj->*ForceSet*(GetCurrentContext(), key, value, attribs);
*^~~~~~~~*
In file included from *../src/validation.cc:15:0*:
*../../nan/nan.h:* In function ‘*v8::Local<v8::Value> Nan::MakeCallback(v8::Local<v8::Object>, v8::Local<v8::Function>, int, v8::Local<v8::Value>)*
*’:
../../nan/nan.h:817:60: warning: ‘v8::Local<v8::Value> node::MakeCallback(v8::Isolate*, v8::Local<v8::Object>, v8::Local<v8::Function>, int, v8::Local<v8::Value*>)*
*’ is deprecated: Use MakeCallback(..., async_context) [-Wdeprecated-declarations]
v8::Isolate::GetCurrent(), target, func, argc, argv);
^
In file included from ../src/validation.cc:8:0:
/home/nasiruddin/.node-gyp/10.15.3/include/node/node.h:177:50: note: declared here
NODE_EXTERN v8::Local<v8::Value> MakeCallback(
^
/home/nasiruddin/.node-gyp/10.15.3/include/node/node.h:91:42: note: in definition of macro ‘NODE_DEPRECATED’
attribute((deprecated(message))) declarator
^~~~~~~~~~
In file included from ../src/validation.cc:15:0:
../../nan/nan.h: In function ‘v8::Local<v8::Value> Nan::MakeCallback(v8::Local<v8::Object>, v8::Local<v8::String>, int, v8::Local<v8::Value>**)*’:
*../../nan/nan.h:831:62:* *warning: *‘v8::Local<v8::Value> node::MakeCallback(v8::Isolate*, v8::Local<v8::Object>, v8::Local<v8::String>, int, v8::Local<v8::Value>
*)’ is deprecated: Use MakeCallback(..., async_context) [-Wdeprecated-declarations]
v8::Isolate::GetCurrent(), target, symbol, argc, argv);
^
In file included from ../src/validation.cc:8:0:
/home/nasiruddin/.node-gyp/10.15.3/include/node/node.h:170:50: note: declared here
NODE_EXTERN v8::Local<v8::Value> MakeCallback(
^
/home/nasiruddin/.node-gyp/10.15.3/include/node/node.h:91:42: note: in definition of macro ‘NODE_DEPRECATED’
attribute((deprecated(message))) declarator
^~~~~~~~~~
In file included from ../src/validation.cc:15:0:
../../nan/nan.h: In function ‘v8::Local<v8::Value> Nan::MakeCallback(v8::Local<v8::Object>, const char**, int, v8::Local<v8::Value>)*
*’:
../../nan/nan.h:845:62: warning: ‘v8::Local<v8::Value> node::MakeCallback(v8::Isolate**, v8::Local<v8::Object>, const char*, int, v8::Local<v8::Value>)*
*’ is deprecated: Use MakeCallback(..., async_context) [-Wdeprecated-declarations]
v8::Isolate::GetCurrent(), target, method, argc, argv);
^
In file included from ../src/validation.cc:8:0:
/home/nasiruddin/.node-gyp/10.15.3/include/node/node.h:163:50: note: declared here
NODE_EXTERN v8::Local<v8::Value> MakeCallback(
^
/home/nasiruddin/.node-gyp/10.15.3/include/node/node.h:91:42: note: in definition of macro ‘NODE_DEPRECATED’
attribute((deprecated(message))) declarator
^~~~~~~~~~
In file included from ../src/validation.cc:15:0:
../../nan/nan.h: In member function ‘v8::Local<v8::Value> Nan::Callback::Call_(v8::Isolate**, v8::Local<v8::Object>, int, v8::Local<v8::Value>) const*
*’:
../../nan/nan.h:1453:5: warning: ‘v8::Local<v8::Value> node::MakeCallback(v8::Isolate*, v8::Local<v8::Object>, v8::Local<v8::Function>, int, v8::Local<v8::Value*>)*
*’ is deprecated: Use MakeCallback(..., async_context) [-Wdeprecated-declarations]
));
^
In file included from ../src/validation.cc:8:0:
/home/nasiruddin/.node-gyp/10.15.3/include/node/node.h:177:50: note: declared here
NODE_EXTERN v8::Local<v8::Value> MakeCallback(
^
/home/nasiruddin/.node-gyp/10.15.3/include/node/node.h:91:42: note: in definition of macro ‘NODE_DEPRECATED’
attribute((deprecated(message))) declarator
^~~~~~~~~~
../src/validation.cc: In static member function ‘static Nan::NAN_METHOD_RETURN_TYPE Validation::IsValidUTF8(Nan::NAN_METHOD_ARGS_TYPE)’:
../src/validation.cc:131:50: warning: ‘v8::Local<v8::Object> v8::Value::ToObject() const’ is deprecated: Use maybe version [-Wdeprecated-declarations]
Local<Object> buffer_obj = info[0]->ToObject();
^
In file included from ../src/validation.cc:7:0:
/home/nasiruddin/.node-gyp/10.15.3/include/node/v8.h:10046:15: note: declared here
Local<Object> Value::ToObject() const {
^~~~~
../src/validation.cc: In function ‘int is_valid_utf8(size_t, char**)*’:
*../src/validation.cc:81:47:* *warning: *this statement may fall through [*-Wimplicit-fallthrough=*]
case 5 : ch += (uint8_t) value[i++]; *ch <<= 6*;
*~~~^~~~~*
*../src/validation.cc:82:7:* *note: *here
*case* 4 : ch += (uint8_t) value[i++]; ch <<= 6;
*^~~~*
*../src/validation.cc:82:47:* *warning: *this statement may fall through [*-Wimplicit-fallthrough=*]
case 4 : ch += (uint8_t) value[i++]; *ch <<= 6*;
*~~~^~~~~*
*../src/validation.cc:83:7:* *note: *here
*case* 3 : ch += (uint8_t) value[i++]; ch <<= 6;
*^~~~*
*../src/validation.cc:83:47:* *warning: *this statement may fall through [*-Wimplicit-fallthrough=*]
case 3 : ch += (uint8_t) value[i++]; *ch <<= 6*;
*~~~^~~~~*
*../src/validation.cc:84:7:* *note: *here
*case* 2 : ch += (uint8_t) value[i++]; ch <<= 6;
*^~~~*
*../src/validation.cc:84:47:* *warning: *this statement may fall through [*-Wimplicit-fallthrough=*]
case 2 : ch += (uint8_t) value[i++]; *ch <<= 6*;
*~~~^~~~~*
*../src/validation.cc:85:7:* *note: *here
*case* 1 : ch += (uint8_t) value[i++]; ch <<= 6;
*^~~~*
*../src/validation.cc:85:47:* *warning: *this statement may fall through [*-Wimplicit-fallthrough=*]
case 1 : ch += (uint8_t) value[i++]; *ch <<= 6*;
*~~~^~~~~*
*../src/validation.cc:86:7:* *note: *here
*case* 0 : ch += (uint8_t) value[i];
*^~~~*
*../src/validation.cc:* In function ‘*int isLegalUTF8(const uint8_t*, int)*’:
*../src/validation.cc:51:13:* *warning: *this statement may fall through [*-Wimplicit-fallthrough=*]
case 4: *if* ((a = (
*--srcptr)) < 0x80 || a > 0xBF) return 0;
^~
../src/validation.cc:52:5: note: here
case 3: if ((a = (*--srcptr)) < 0x80 || a > 0xBF) return 0;
*^~~~*
*../src/validation.cc:52:13:* *warning: *this statement may fall through [*-Wimplicit-fallthrough=*]
case 3: *if* ((a = (
*--srcptr)) < 0x80 || a > 0xBF) return 0;
^~
../src/validation.cc:53:5: note: here
case 2: if ((a = (*--srcptr)) < 0x80 || a > 0xBF) return 0;
*^~~~*
*../src/validation.cc:59:20:* *warning: *this statement may fall through [*-Wimplicit-fallthrough=*]
case 0xF4: *if* (a > 0x8F) return 0;
*^*
*../src/validation.cc:62:5:* *note: *here
*case* 1: if (*source >= 0x80 && *source < 0xC2) return 0;
*^~~~*
validation.target.mk:102: recipe for target 'Release/obj.target/validation/src/validation.o' failed
make: *** [Release/obj.target/validation/src/validation.o] Error 1
make: Leaving directory '/home/nasiruddin/Desktop/March-19/LocalChat/kurento-tutorial-node/kurento-one2one-call/node_modules/kurento-jsonrpc/node_modules/utf-8-validate/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:262:23)
gyp ERR! stack at ChildProcess.emit (events.js:189:13)
gyp ERR! stack at Process.ChildProcess._handle.onexit (internal/child_process.js:248:12)
gyp ERR! System Linux 4.15.0-47-generic
gyp ERR! command "/usr/bin/node" "/usr/lib/node_modules/npm/node_modules/node-gyp/bin/node-gyp.js" "rebuild"
gyp ERR! cwd /home/nasiruddin/Desktop/March-19/LocalChat/kurento-tutorial-node/kurento-one2one-call/node_modules/kurento-jsonrpc/node_modules/utf-8-validate
gyp ERR! node -v v10.15.3
gyp ERR! node-gyp -v v3.8.0
gyp ERR! not ok
npm verb lifecycle ***@***.***: unsafe-perm in lifecycle true
npm verb lifecycle ***@***.***: PATH: /usr/lib/node_modules/npm/node_modules/npm-lifecycle/node-gyp-bin:/home/nasiruddin/Desktop/March-19/LocalChat/kurento-tutorial-node/kurento-one2one-call/node_modules/kurento-jsonrpc/node_modules/utf-8-validate/node_modules/.bin:/home/nasiruddin/Desktop/March-19/LocalChat/kurento-tutorial-node/kurento-one2one-call/node_modules/kurento-jsonrpc/node_modules/.bin:/home/nasiruddin/Desktop/March-19/LocalChat/kurento-tutorial-node/kurento-one2one-call/node_modules/.bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin:/opt/adt-bundle-linux-x86-20140702/sdk/tools:/opt/adt-bundle-linux-x86-20140702/sdk/platform-tools:/opt/adt-bundle-linux-x86-20140702/android-studio/gradle/gradle-4.1/bin
npm verb lifecycle ***@***.***: CWD: /home/nasiruddin/Desktop/March-19/LocalChat/kurento-tutorial-node/kurento-one2one-call/node_modules/kurento-jsonrpc/node_modules/utf-8-validate
npm info lifecycle ***@***.***~install: Failed to exec install script
npm timing action:install Completed in 1515ms
npm verb unlock done using /home/nasiruddin/.npm/_locks/staging-35df3a30db7de892.lock for /home/nasiruddin/Desktop/March-19/LocalChat/kurento-tutorial-node/kurento-one2one-call/node_modules/.staging
npm timing stage:rollbackFailedOptional Completed in 40ms
npm timing stage:runTopLevelLifecycles Completed in 8820ms
npm verb stack Error: ***@***.*** install: node-gyp rebuild
npm verb stack Exit status 1
npm verb stack at EventEmitter.<anonymous> (/usr/lib/node_modules/npm/node_modules/npm-lifecycle/index.js:301:16)
npm verb stack at EventEmitter.emit (events.js:189:13)
npm verb stack at ChildProcess.<anonymous> (/usr/lib/node_modules/npm/node_modules/npm-lifecycle/lib/spawn.js:55:14)
npm verb stack at ChildProcess.emit (events.js:189:13)
npm verb stack at maybeClose (internal/child_process.js:970:16)
npm verb stack at Process.ChildProcess._handle.onexit (internal/child_process.js:259:5)
npm verb pkgid ***@***.***
npm verb cwd /home/nasiruddin/Desktop/March-19/LocalChat/kurento-tutorial-node/kurento-one2one-call
npm verb Linux 4.15.0-47-generic
npm verb argv "/usr/bin/node" "/usr/bin/npm" "i" "--verb"
npm verb node v10.15.3
npm verb npm v6.4.1
npm ERR! code ELIFECYCLE
npm ERR! errno 1
npm ERR! ***@***.*** install: node-gyp rebuild
npm ERR! Exit status 1
npm ERR!
npm ERR! Failed at the ***@***.*** install script.
npm ERR! This is probably not a problem with npm. There is likely additional logging output above.
npm verb exit [ 1, true ]
npm timing npm Completed in 9252ms
npm ERR! A complete log of this run can be found in:
npm ERR! /home/nasiruddin/.npm/_logs/2019-04-22T14_18_06_045Z-debug.log
`
—
You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub
<#362 (comment)>,
or mute the thread
<https://github.com/notifications/unsubscribe-auth/AAIF2KD6N3QICU44OQZNARLPRXC25ANCNFSM4HEETAUA>
.
|
hi @micaelgallego, The failure is due to kurent-client depends on older version of Node.js:
Is it possible to update kurento to use latest utf-8-validate (and nan)? |
Can you prepare a Pull Request please? @j1elo, can you take care of it? |
hi @micaelgallego, I created these PRs: |
Same issue here I have been using: |
Fixed in commits Kurento/kurento-jsonrpc-js@2f9c17b, Kurento/kurento-jsonrpc-js@4a633fd, after merging the changes suggested in several PRs. |
@VuThuyThuy97 Did you solve this? |
I'm trying Kurento tutorial branch 6.9.0
But I got this error when npm install.
gyp ERR! build error
gyp ERR! stack Error:
make
failed with exit code: 2gyp ERR! stack at ChildProcess.onExit (/usr/local/lib/node_modules/npm/node_modules/node-gyp/lib/build.js:262:23)
gyp ERR! stack at ChildProcess.emit (events.js:193:13)
gyp ERR! stack at Process.ChildProcess._handle.onexit (internal/child_process.js:255:12)
gyp ERR! System Linux 4.15.0-45-generic
gyp ERR! command "/usr/local/bin/node" "/usr/local/lib/node_modules/npm/node_modules/node-gyp/bin/node-gyp.js" "rebuild"
gyp ERR! cwd /home/thuy/Documents/workspace/kurento-tutorial-node/kurento-hello-world/node_modules/kurento-jsonrpc/node_modules/utf-8-validate
gyp ERR! node -v v11.13.0
gyp ERR! node-gyp -v v3.8.0
gyp ERR! not ok
npm ERR! code ELIFECYCLE
npm ERR! errno 1
npm ERR! utf-8-validate@1.2.2 install:
node-gyp rebuild
npm ERR! Exit status 1
npm ERR!
npm ERR! Failed at the utf-8-validate@1.2.2 install script.
npm ERR! This is probably not a problem with npm. There is likely additional logging output above.
Please tell me how to fix it.
The text was updated successfully, but these errors were encountered: