Hi, have next log:
0 info it worked if it ends with ok
1 verbose cli [ '/usr/bin/node', '/usr/bin/npm', 'install', '-g', 'wiring-pi' ]
2 info using npm@5.6.0
3 info using node@v9.9.0
4 verbose npm-session 94a0b2b8756458cc
5 silly install loadCurrentTree
6 silly install readGlobalPackageData
7 http fetch GET 304 https://registry.npmjs.org/wiring-pi 512ms (from cache)
8 silly pacote tag manifest for wiring-pi@latest fetched in 685ms
9 silly install loadIdealTree
10 silly install cloneCurrentTreeToIdealTree
11 silly install loadShrinkwrap
12 silly install loadAllDepsIntoIdealTree
13 silly resolveWithNewModule wiring-pi@2.2.1 checking installable status
14 silly currentTree lib
15 silly idealTree lib
15 silly idealTree └── wiring-pi@2.2.1
16 silly install generateActionsToTake
17 silly diffTrees action count 1
18 silly diffTrees add wiring-pi@2.2.1
19 silly decomposeActions action count 8
20 silly decomposeActions fetch wiring-pi@2.2.1
21 silly decomposeActions extract wiring-pi@2.2.1
22 silly decomposeActions preinstall wiring-pi@2.2.1
23 silly decomposeActions build wiring-pi@2.2.1
24 silly decomposeActions install wiring-pi@2.2.1
25 silly decomposeActions postinstall wiring-pi@2.2.1
26 silly decomposeActions finalize wiring-pi@2.2.1
27 silly decomposeActions refresh-package-json wiring-pi@2.2.1
28 silly install executeActions
29 silly doSerial global-install 8
30 verbose correctMkdir /root/.npm/_locks correctMkdir not in flight; initializing
31 verbose lock using /root/.npm/_locks/staging-a072192f34a17023.lock for /usr/lib/node_modules/.staging
32 silly doParallel extract 8
33 silly extract wiring-pi@2.2.1
34 silly pacote trying wiring-pi@https://registry.npmjs.org/wiring-pi/-/wiring-pi-2.2.1.tgz by hash: sha1-z5FzH9AQv8hZSIkGTE8Ok3To3dQ=
35 silly pacote wiring-pi@https://registry.npmjs.org/wiring-pi/-/wiring-pi-2.2.1.tgz extracted to /usr/lib/node_modules/.staging/wiring-pi-5954c531 by content address 731ms
36 silly doReverseSerial unbuild 8
37 silly doSerial remove 8
38 silly doSerial move 8
39 silly doSerial finalize 8
40 silly finalize /usr/lib/node_modules/wiring-pi
41 silly doParallel refresh-package-json 8
42 silly refresh-package-json /usr/lib/node_modules/wiring-pi
43 silly doParallel preinstall 8
44 silly preinstall wiring-pi@2.2.1
45 info lifecycle wiring-pi@2.2.1~preinstall: wiring-pi@2.2.1
46 silly doSerial build 8
47 silly build wiring-pi@2.2.1
48 info linkStuff wiring-pi@2.2.1
49 silly linkStuff wiring-pi@2.2.1 has /usr/lib/node_modules as its parent node_modules
50 silly linkStuff wiring-pi@2.2.1 is part of a global install
51 silly linkStuff wiring-pi@2.2.1 is installed into a global node_modules
52 silly linkStuff wiring-pi@2.2.1 is installed into the top-level global node_modules
53 verbose linkBins wiring-pi@2.2.1
54 verbose linkMans wiring-pi@2.2.1
55 silly doSerial global-link 8
56 silly doParallel update-linked 8
57 silly doSerial install 8
58 silly install wiring-pi@2.2.1
59 info lifecycle wiring-pi@2.2.1~install: wiring-pi@2.2.1
60 verbose lifecycle wiring-pi@2.2.1~install: unsafe-perm in lifecycle false
61 verbose lifecycle wiring-pi@2.2.1~install: PATH: /usr/lib/node_modules/npm/node_modules/npm-lifecycle/node-gyp-bin:/usr/lib/node_modules/wiring-pi/node_modules/.bin:/usr/lib/node_modules/.bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin
62 verbose lifecycle wiring-pi@2.2.1~install: CWD: /usr/lib/node_modules/wiring-pi
63 silly lifecycle wiring-pi@2.2.1~install: Args: [ '-c', '/bin/bash ./install.sh' ]
64 silly lifecycle wiring-pi@2.2.1~install: Returned: code: 1 signal: null
65 info lifecycle wiring-pi@2.2.1~install: Failed to exec install script
66 verbose unlock done using /root/.npm/_locks/staging-a072192f34a17023.lock for /usr/lib/node_modules/.staging
67 verbose stack Error: wiring-pi@2.2.1 install: /bin/bash ./install.sh
67 verbose stack Exit status 1
67 verbose stack at EventEmitter. (/usr/lib/node_modules/npm/node_modules/npm-lifecycle/index.js:285:16)
67 verbose stack at EventEmitter.emit (events.js:180:13)
67 verbose stack at ChildProcess. (/usr/lib/node_modules/npm/node_modules/npm-lifecycle/lib/spawn.js:55:14)
67 verbose stack at ChildProcess.emit (events.js:180:13)
67 verbose stack at maybeClose (internal/child_process.js:936:16)
67 verbose stack at Process.ChildProcess._handle.onexit (internal/child_process.js:220:5)
68 verbose pkgid wiring-pi@2.2.1
69 verbose cwd /home/khvalov/node_modules/wiring-pi/examples
70 verbose Linux 4.14.18-sunxi
71 verbose argv "/usr/bin/node" "/usr/bin/npm" "install" "-g" "wiring-pi"
72 verbose node v9.9.0
73 verbose npm v5.6.0
74 error code ELIFECYCLE
75 error errno 1
76 error wiring-pi@2.2.1 install: /bin/bash ./install.sh
76 error Exit status 1
77 error Failed at the wiring-pi@2.2.1 install script.
77 error This is probably not a problem with npm. There is likely additional logging output above.
78 verbose exit [ 1, true ]
and output itself:
Making wiring-pi ... make: Entering directory '/home/khvalov/node_modules/wiring-pi/build'
CXX(target) Release/obj.target/wiringPi/src/addon.o
CXX(target) Release/obj.target/wiringPi/src/wiringPi.o
In file included from ../src/wiringPi.h:4:0,
from ../src/wiringPi.cc:1:
../src/wiringPi.cc: In function ‘void nodemodule::initwiringPi(v8::Isolate*, v8::Handle)’:
../src/addon.h:46:105: error: no matching function for call to ‘v8::Object::ForceSet(v8::Local, v8::Local, v8::PropertyAttribute)’
v8::Int32::New(isolate, name), static_cast(v8::ReadOnly | v8::DontDelete));
^
../src/wiringPi.cc:714:3: note: in expansion of macro ‘EXPORT_CONSTANT_INT’
EXPORT_CONSTANT_INT(WPI_MODE_PINS);
^~~~~~~
In file included from /home/khvalov/.node-gyp/9.9.0/include/node/v8.h:26:0,
from ../src/addon.h:4,
from ../src/wiringPi.h:4,
from ../src/wiringPi.cc:1:
/home/khvalov/.node-gyp/9.9.0/include/node/v8.h:3165:29: note: candidate: v8::Maybe v8::Object::ForceSet(v8::Local, v8::Local, v8::Local, v8::PropertyAttribute)
Maybe ForceSet(Local context, Local key,
^
/home/khvalov/.node-gyp/9.9.0/include/node/v8config.h:318:3: note: in definition of macro ‘V8_DEPRECATED’
declarator attribute((deprecated(message)))
^~~~~~
/home/khvalov/.node-gyp/9.9.0/include/node/v8.h:3165:29: note: no known conversion for argument 3 from ‘v8::PropertyAttribute’ to ‘v8::Local’
Maybe ForceSet(Local context, Local key,
^
/home/khvalov/.node-gyp/9.9.0/include/node/v8config.h:318:3: note: in definition of macro ‘V8_DEPRECATED’
declarator attribute((deprecated(message)))
^~~~~~
In file included from ../src/wiringPi.h:4:0,
from ../src/wiringPi.cc:1:
../src/addon.h:46:105: error: no matching function for call to ‘v8::Object::ForceSet(v8::Local, v8::Local, v8::PropertyAttribute)’
v8::Int32::New(isolate, name), static_cast(v8::ReadOnly | v8::DontDelete));
^
../src/wiringPi.cc:715:3: note: in expansion of macro ‘EXPORT_CONSTANT_INT’
EXPORT_CONSTANT_INT(WPI_MODE_PHYS);
^~~~~~~
In file included from /home/khvalov/.node-gyp/9.9.0/include/node/v8.h:26:0,
from ../src/addon.h:4,
from ../src/wiringPi.h:4,
from ../src/wiringPi.cc:1:
/home/khvalov/.node-gyp/9.9.0/include/node/v8.h:3165:29: note: candidate: v8::Maybe v8::Object::ForceSet(v8::Local, v8::Local, v8::Local, v8::PropertyAttribute)
Maybe ForceSet(Local context, Local key,
^
/home/khvalov/.node-gyp/9.9.0/include/node/v8config.h:318:3: note: in definition of macro ‘V8_DEPRECATED’
declarator attribute((deprecated(message)))
^~~~~~
/home/khvalov/.node-gyp/9.9.0/include/node/v8.h:3165:29: note: no known conversion for argument 3 from ‘v8::PropertyAttribute’ to ‘v8::Local’
Maybe ForceSet(Local context, Local key,
^
/home/khvalov/.node-gyp/9.9.0/include/node/v8config.h:318:3: note: in definition of macro ‘V8_DEPRECATED’
declarator attribute((deprecated(message)))
^~~~~~
In file included from ../src/wiringPi.h:4:0,
from ../src/wiringPi.cc:1:
../src/addon.h:46:105: error: no matching function for call to ‘v8::Object::ForceSet(v8::Local, v8::Local, v8::PropertyAttribute)’
v8::Int32::New(isolate, name), static_cast(v8::ReadOnly | v8::DontDelete));
^
../src/wiringPi.cc:716:3: note: in expansion of macro ‘EXPORT_CONSTANT_INT’
EXPORT_CONSTANT_INT(WPI_MODE_GPIO);
^~~~~~~
In file included from /home/khvalov/.node-gyp/9.9.0/include/node/v8.h:26:0,
from ../src/addon.h:4,
from ../src/wiringPi.h:4,
from ../src/wiringPi.cc:1:
/home/khvalov/.node-gyp/9.9.0/include/node/v8.h:3165:29: note: candidate: v8::Maybe v8::Object::ForceSet(v8::Local, v8::Local, v8::Local, v8::PropertyAttribute)
Maybe ForceSet(Local context, Local key,
^
/home/khvalov/.node-gyp/9.9.0/include/node/v8config.h:318:3: note: in definition of macro ‘V8_DEPRECATED’
declarator attribute((deprecated(message)))
^~~~~~
/home/khvalov/.node-gyp/9.9.0/include/node/v8.h:3165:29: note: no known conversion for argument 3 from ‘v8::PropertyAttribute’ to ‘v8::Local’
Maybe ForceSet(Local context, Local key,
^
/home/khvalov/.node-gyp/9.9.0/include/node/v8config.h:318:3: note: in definition of macro ‘V8_DEPRECATED’
declarator attribute((deprecated(message)))
^~~~~~
In file included from ../src/wiringPi.h:4:0,
from ../src/wiringPi.cc:1:
../src/addon.h:46:105: error: no matching function for call to ‘v8::Object::ForceSet(v8::Local, v8::Local, v8::PropertyAttribute)’
v8::Int32::New(isolate, name), static_cast(v8::ReadOnly | v8::DontDelete));
^
../src/wiringPi.cc:717:3: note: in expansion of macro ‘EXPORT_CONSTANT_INT’
EXPORT_CONSTANT_INT(WPI_MODE_GPIO_SYS);
^~~~~~~
In file included from /home/khvalov/.node-gyp/9.9.0/include/node/v8.h:26:0,
from ../src/addon.h:4,
from ../src/wiringPi.h:4,
from ../src/wiringPi.cc:1:
/home/khvalov/.node-gyp/9.9.0/include/node/v8.h:3165:29: note: candidate: v8::Maybe v8::Object::ForceSet(v8::Local, v8::Local, v8::Local, v8::PropertyAttribute)
Maybe ForceSet(Local context, Local key,
^
/home/khvalov/.node-gyp/9.9.0/include/node/v8config.h:318:3: note: in definition of macro ‘V8_DEPRECATED’
declarator attribute((deprecated(message)))
^~~~~~
/home/khvalov/.node-gyp/9.9.0/include/node/v8.h:3165:29: note: no known conversion for argument 3 from ‘v8::PropertyAttribute’ to ‘v8::Local’
Maybe ForceSet(Local context, Local key,
^
/home/khvalov/.node-gyp/9.9.0/include/node/v8config.h:318:3: note: in definition of macro ‘V8_DEPRECATED’
declarator attribute((deprecated(message)))
^~~~~~
In file included from ../src/wiringPi.h:4:0,
from ../src/wiringPi.cc:1:
../src/addon.h:46:105: error: no matching function for call to ‘v8::Object::ForceSet(v8::Local, v8::Local, v8::PropertyAttribute)’
v8::Int32::New(isolate, name), static_cast(v8::ReadOnly | v8::DontDelete));
^
../src/wiringPi.cc:718:3: note: in expansion of macro ‘EXPORT_CONSTANT_INT’
EXPORT_CONSTANT_INT(WPI_MODE_PIFACE);
^~~~~~~
In file included from /home/khvalov/.node-gyp/9.9.0/include/node/v8.h:26:0,
from ../src/addon.h:4,
from ../src/wiringPi.h:4,
from ../src/wiringPi.cc:1:
/home/khvalov/.node-gyp/9.9.0/include/node/v8.h:3165:29: note: candidate: v8::Maybe v8::Object::ForceSet(v8::Local, v8::Local, v8::Local, v8::PropertyAttribute)
Maybe ForceSet(Local context, Local key,
^
/home/khvalov/.node-gyp/9.9.0/include/node/v8config.h:318:3: note: in definition of macro ‘V8_DEPRECATED’
declarator attribute((deprecated(message)))
^~~~~~
/home/khvalov/.node-gyp/9.9.0/include/node/v8.h:3165:29: note: no known conversion for argument 3 from ‘v8::PropertyAttribute’ to ‘v8::Local’
Maybe ForceSet(Local context, Local key,
^
/home/khvalov/.node-gyp/9.9.0/include/node/v8config.h:318:3: note: in definition of macro ‘V8_DEPRECATED’
declarator attribute((deprecated(message)))
^~~~~~
In file included from ../src/wiringPi.h:4:0,
from ../src/wiringPi.cc:1:
../src/addon.h:46:105: error: no matching function for call to ‘v8::Object::ForceSet(v8::Local, v8::Local, v8::PropertyAttribute)’
v8::Int32::New(isolate, name), static_cast(v8::ReadOnly | v8::DontDelete));
^
../src/wiringPi.cc:719:3: note: in expansion of macro ‘EXPORT_CONSTANT_INT’
EXPORT_CONSTANT_INT(WPI_MODE_UNINITIALISED);
^~~~~~~
In file included from /home/khvalov/.node-gyp/9.9.0/include/node/v8.h:26:0,
from ../src/addon.h:4,
from ../src/wiringPi.h:4,
from ../src/wiringPi.cc:1:
/home/khvalov/.node-gyp/9.9.0/include/node/v8.h:3165:29: note: candidate: v8::Maybe v8::Object::ForceSet(v8::Local, v8::Local, v8::Local, v8::PropertyAttribute)
Maybe ForceSet(Local context, Local key,
^
/home/khvalov/.node-gyp/9.9.0/include/node/v8config.h:318:3: note: in definition of macro ‘V8_DEPRECATED’
declarator attribute((deprecated(message)))
^~~~~~
/home/khvalov/.node-gyp/9.9.0/include/node/v8.h:3165:29: note: no known conversion for argument 3 from ‘v8::PropertyAttribute’ to ‘v8::Local’
Maybe ForceSet(Local context, Local key,
^
/home/khvalov/.node-gyp/9.9.0/include/node/v8config.h:318:3: note: in definition of macro ‘V8_DEPRECATED’
declarator attribute((deprecated(message)))
^~~~~~
In file included from ../src/wiringPi.h:4:0,
from ../src/wiringPi.cc:1:
../src/addon.h:46:105: error: no matching function for call to ‘v8::Object::ForceSet(v8::Local, v8::Local, v8::PropertyAttribute)’
v8::Int32::New(isolate, name), static_cast(v8::ReadOnly | v8::DontDelete));
^
../src/wiringPi.cc:723:3: note: in expansion of macro ‘EXPORT_CONSTANT_INT’
EXPORT_CONSTANT_INT(INPUT);
^~~~~~~
In file included from /home/khvalov/.node-gyp/9.9.0/include/node/v8.h:26:0,
from ../src/addon.h:4,
from ../src/wiringPi.h:4,
from ../src/wiringPi.cc:1:
/home/khvalov/.node-gyp/9.9.0/include/node/v8.h:3165:29: note: candidate: v8::Maybe v8::Object::ForceSet(v8::Local, v8::Local, v8::Local, v8::PropertyAttribute)
Maybe ForceSet(Local context, Local key,
^
/home/khvalov/.node-gyp/9.9.0/include/node/v8config.h:318:3: note: in definition of macro ‘V8_DEPRECATED’
declarator attribute((deprecated(message)))
^~~~~~
/home/khvalov/.node-gyp/9.9.0/include/node/v8.h:3165:29: note: no known conversion for argument 3 from ‘v8::PropertyAttribute’ to ‘v8::Local’
Maybe ForceSet(Local context, Local key,
^
/home/khvalov/.node-gyp/9.9.0/include/node/v8config.h:318:3: note: in definition of macro ‘V8_DEPRECATED’
declarator attribute((deprecated(message)))
^~~~~~
In file included from ../src/wiringPi.h:4:0,
from ../src/wiringPi.cc:1:
../src/addon.h:46:105: error: no matching function for call to ‘v8::Object::ForceSet(v8::Local, v8::Local, v8::PropertyAttribute)’
v8::Int32::New(isolate, name), static_cast(v8::ReadOnly | v8::DontDelete));
^
../src/wiringPi.cc:724:3: note: in expansion of macro ‘EXPORT_CONSTANT_INT’
EXPORT_CONSTANT_INT(OUTPUT);
^~~~~~~
In file included from /home/khvalov/.node-gyp/9.9.0/include/node/v8.h:26:0,
from ../src/addon.h:4,
from ../src/wiringPi.h:4,
from ../src/wiringPi.cc:1:
/home/khvalov/.node-gyp/9.9.0/include/node/v8.h:3165:29: note: candidate: v8::Maybe v8::Object::ForceSet(v8::Local, v8::Local, v8::Local, v8::PropertyAttribute)
Maybe ForceSet(Local context, Local key,
^
/home/khvalov/.node-gyp/9.9.0/include/node/v8config.h:318:3: note: in definition of macro ‘V8_DEPRECATED’
declarator attribute((deprecated(message)))
^~~~~~
/home/khvalov/.node-gyp/9.9.0/include/node/v8.h:3165:29: note: no known conversion for argument 3 from ‘v8::PropertyAttribute’ to ‘v8::Local’
Maybe ForceSet(Local context, Local key,
^
/home/khvalov/.node-gyp/9.9.0/include/node/v8config.h:318:3: note: in definition of macro ‘V8_DEPRECATED’
declarator attribute((deprecated(message)))
^~~~~~
In file included from ../src/wiringPi.h:4:0,
from ../src/wiringPi.cc:1:
../src/addon.h:46:105: error: no matching function for call to ‘v8::Object::ForceSet(v8::Local, v8::Local, v8::PropertyAttribute)’
v8::Int32::New(isolate, name), static_cast(v8::ReadOnly | v8::DontDelete));
^
../src/wiringPi.cc:725:3: note: in expansion of macro ‘EXPORT_CONSTANT_INT’
EXPORT_CONSTANT_INT(PWM_OUTPUT);
^~~~~~~
In file included from /home/khvalov/.node-gyp/9.9.0/include/node/v8.h:26:0,
from ../src/addon.h:4,
from ../src/wiringPi.h:4,
from ../src/wiringPi.cc:1:
/home/khvalov/.node-gyp/9.9.0/include/node/v8.h:3165:29: note: candidate: v8::Maybe v8::Object::ForceSet(v8::Local, v8::Local, v8::Local, v8::PropertyAttribute)
Maybe ForceSet(Local context, Local key,
^
/home/khvalov/.node-gyp/9.9.0/include/node/v8config.h:318:3: note: in definition of macro ‘V8_DEPRECATED’
declarator attribute((deprecated(message)))
^~~~~~
/home/khvalov/.node-gyp/9.9.0/include/node/v8.h:3165:29: note: no known conversion for argument 3 from ‘v8::PropertyAttribute’ to ‘v8::Local’
Maybe ForceSet(Local context, Local key,
^
/home/khvalov/.node-gyp/9.9.0/include/node/v8config.h:318:3: note: in definition of macro ‘V8_DEPRECATED’
declarator attribute((deprecated(message)))
^~~~~~
In file included from ../src/wiringPi.h:4:0,
from ../src/wiringPi.cc:1:
../src/addon.h:46:105: error: no matching function for call to ‘v8::Object::ForceSet(v8::Local, v8::Local, v8::PropertyAttribute)’
v8::Int32::New(isolate, name), static_cast(v8::ReadOnly | v8::DontDelete));
^
../src/wiringPi.cc:726:3: note: in expansion of macro ‘EXPORT_CONSTANT_INT’
EXPORT_CONSTANT_INT(GPIO_CLOCK);
^~~~~~~
In file included from /home/khvalov/.node-gyp/9.9.0/include/node/v8.h:26:0,
from ../src/addon.h:4,
from ../src/wiringPi.h:4,
from ../src/wiringPi.cc:1:
/home/khvalov/.node-gyp/9.9.0/include/node/v8.h:3165:29: note: candidate: v8::Maybe v8::Object::ForceSet(v8::Local, v8::Local, v8::Local, v8::PropertyAttribute)
Maybe ForceSet(Local context, Local key,
^
/home/khvalov/.node-gyp/9.9.0/include/node/v8config.h:318:3: note: in definition of macro ‘V8_DEPRECATED’
declarator attribute((deprecated(message)))
^~~~~~
/home/khvalov/.node-gyp/9.9.0/include/node/v8.h:3165:29: note: no known conversion for argument 3 from ‘v8::PropertyAttribute’ to ‘v8::Local’
Maybe ForceSet(Local context, Local key,
^
/home/khvalov/.node-gyp/9.9.0/include/node/v8config.h:318:3: note: in definition of macro ‘V8_DEPRECATED’
declarator attribute((deprecated(message)))
^~~~~~
In file included from ../src/wiringPi.h:4:0,
from ../src/wiringPi.cc:1:
../src/addon.h:46:105: error: no matching function for call to ‘v8::Object::ForceSet(v8::Local, v8::Local, v8::PropertyAttribute)’
v8::Int32::New(isolate, name), static_cast(v8::ReadOnly | v8::DontDelete));
^
../src/wiringPi.cc:727:3: note: in expansion of macro ‘EXPORT_CONSTANT_INT’
EXPORT_CONSTANT_INT(SOFT_PWM_OUTPUT);
^~~~~~~
In file included from /home/khvalov/.node-gyp/9.9.0/include/node/v8.h:26:0,
from ../src/addon.h:4,
from ../src/wiringPi.h:4,
from ../src/wiringPi.cc:1:
/home/khvalov/.node-gyp/9.9.0/include/node/v8.h:3165:29: note: candidate: v8::Maybe v8::Object::ForceSet(v8::Local, v8::Local, v8::Local, v8::PropertyAttribute)
Maybe ForceSet(Local context, Local key,
^
/home/khvalov/.node-gyp/9.9.0/include/node/v8config.h:318:3: note: in definition of macro ‘V8_DEPRECATED’
declarator attribute((deprecated(message)))
^~~~~~
/home/khvalov/.node-gyp/9.9.0/include/node/v8.h:3165:29: note: no known conversion for argument 3 from ‘v8::PropertyAttribute’ to ‘v8::Local’
Maybe ForceSet(Local context, Local key,
^
/home/khvalov/.node-gyp/9.9.0/include/node/v8config.h:318:3: note: in definition of macro ‘V8_DEPRECATED’
declarator attribute((deprecated(message)))
^~~~~~
In file included from ../src/wiringPi.h:4:0,
from ../src/wiringPi.cc:1:
../src/addon.h:46:105: error: no matching function for call to ‘v8::Object::ForceSet(v8::Local, v8::Local, v8::PropertyAttribute)’
v8::Int32::New(isolate, name), static_cast(v8::ReadOnly | v8::DontDelete));
^
../src/wiringPi.cc:728:3: note: in expansion of macro ‘EXPORT_CONSTANT_INT’
EXPORT_CONSTANT_INT(SOFT_TONE_OUTPUT);
^~~~~~~
In file included from /home/khvalov/.node-gyp/9.9.0/include/node/v8.h:26:0,
from ../src/addon.h:4,
from ../src/wiringPi.h:4,
from ../src/wiringPi.cc:1:
/home/khvalov/.node-gyp/9.9.0/include/node/v8.h:3165:29: note: candidate: v8::Maybe v8::Object::ForceSet(v8::Local, v8::Local, v8::Local, v8::PropertyAttribute)
Maybe ForceSet(Local context, Local key,
^
/home/khvalov/.node-gyp/9.9.0/include/node/v8config.h:318:3: note: in definition of macro ‘V8_DEPRECATED’
declarator attribute((deprecated(message)))
^~~~~~
/home/khvalov/.node-gyp/9.9.0/include/node/v8.h:3165:29: note: no known conversion for argument 3 from ‘v8::PropertyAttribute’ to ‘v8::Local’
Maybe ForceSet(Local context, Local key,
^
/home/khvalov/.node-gyp/9.9.0/include/node/v8config.h:318:3: note: in definition of macro ‘V8_DEPRECATED’
declarator attribute((deprecated(message)))
^~~~~~
In file included from ../src/wiringPi.h:4:0,
from ../src/wiringPi.cc:1:
../src/addon.h:46:105: error: no matching function for call to ‘v8::Object::ForceSet(v8::Local, v8::Local, v8::PropertyAttribute)’
v8::Int32::New(isolate, name), static_cast(v8::ReadOnly | v8::DontDelete));
^
../src/wiringPi.cc:731:3: note: in expansion of macro ‘EXPORT_CONSTANT_INT’
EXPORT_CONSTANT_INT(PUD_OFF);
^~~~~~~
In file included from /home/khvalov/.node-gyp/9.9.0/include/node/v8.h:26:0,
from ../src/addon.h:4,
from ../src/wiringPi.h:4,
from ../src/wiringPi.cc:1:
/home/khvalov/.node-gyp/9.9.0/include/node/v8.h:3165:29: note: candidate: v8::Maybe v8::Object::ForceSet(v8::Local, v8::Local, v8::Local, v8::PropertyAttribute)
Maybe ForceSet(Local context, Local key,
^
/home/khvalov/.node-gyp/9.9.0/include/node/v8config.h:318:3: note: in definition of macro ‘V8_DEPRECATED’
declarator attribute((deprecated(message)))
^~~~~~
/home/khvalov/.node-gyp/9.9.0/include/node/v8.h:3165:29: note: no known conversion for argument 3 from ‘v8::PropertyAttribute’ to ‘v8::Local’
Maybe ForceSet(Local context, Local key,
^
/home/khvalov/.node-gyp/9.9.0/include/node/v8config.h:318:3: note: in definition of macro ‘V8_DEPRECATED’
declarator attribute((deprecated(message)))
^~~~~~
In file included from ../src/wiringPi.h:4:0,
from ../src/wiringPi.cc:1:
../src/addon.h:46:105: error: no matching function for call to ‘v8::Object::ForceSet(v8::Local, v8::Local, v8::PropertyAttribute)’
v8::Int32::New(isolate, name), static_cast(v8::ReadOnly | v8::DontDelete));
^
../src/wiringPi.cc:732:3: note: in expansion of macro ‘EXPORT_CONSTANT_INT’
EXPORT_CONSTANT_INT(PUD_DOWN);
^~~~~~~
In file included from /home/khvalov/.node-gyp/9.9.0/include/node/v8.h:26:0,
from ../src/addon.h:4,
from ../src/wiringPi.h:4,
from ../src/wiringPi.cc:1:
/home/khvalov/.node-gyp/9.9.0/include/node/v8.h:3165:29: note: candidate: v8::Maybe v8::Object::ForceSet(v8::Local, v8::Local, v8::Local, v8::PropertyAttribute)
Maybe ForceSet(Local context, Local key,
^
/home/khvalov/.node-gyp/9.9.0/include/node/v8config.h:318:3: note: in definition of macro ‘V8_DEPRECATED’
declarator attribute((deprecated(message)))
^~~~~~
/home/khvalov/.node-gyp/9.9.0/include/node/v8.h:3165:29: note: no known conversion for argument 3 from ‘v8::PropertyAttribute’ to ‘v8::Local’
Maybe ForceSet(Local context, Local key,
^
/home/khvalov/.node-gyp/9.9.0/include/node/v8config.h:318:3: note: in definition of macro ‘V8_DEPRECATED’
declarator attribute((deprecated(message)))
^~~~~~
In file included from ../src/wiringPi.h:4:0,
from ../src/wiringPi.cc:1:
../src/addon.h:46:105: error: no matching function for call to ‘v8::Object::ForceSet(v8::Local, v8::Local, v8::PropertyAttribute)’
v8::Int32::New(isolate, name), static_cast(v8::ReadOnly | v8::DontDelete));
^
../src/wiringPi.cc:733:3: note: in expansion of macro ‘EXPORT_CONSTANT_INT’
EXPORT_CONSTANT_INT(PUD_UP);
^~~~~~~
In file included from /home/khvalov/.node-gyp/9.9.0/include/node/v8.h:26:0,
from ../src/addon.h:4,
from ../src/wiringPi.h:4,
from ../src/wiringPi.cc:1:
/home/khvalov/.node-gyp/9.9.0/include/node/v8.h:3165:29: note: candidate: v8::Maybe v8::Object::ForceSet(v8::Local, v8::Local, v8::Local, v8::PropertyAttribute)
Maybe ForceSet(Local context, Local key,
^
/home/khvalov/.node-gyp/9.9.0/include/node/v8config.h:318:3: note: in definition of macro ‘V8_DEPRECATED’
declarator attribute((deprecated(message)))
^~~~~~
/home/khvalov/.node-gyp/9.9.0/include/node/v8.h:3165:29: note: no known conversion for argument 3 from ‘v8::PropertyAttribute’ to ‘v8::Local’
Maybe ForceSet(Local context, Local key,
^
/home/khvalov/.node-gyp/9.9.0/include/node/v8config.h:318:3: note: in definition of macro ‘V8_DEPRECATED’
declarator attribute((deprecated(message)))
^~~~~~
In file included from ../src/wiringPi.h:4:0,
from ../src/wiringPi.cc:1:
../src/addon.h:46:105: error: no matching function for call to ‘v8::Object::ForceSet(v8::Local, v8::Local, v8::PropertyAttribute)’
v8::Int32::New(isolate, name), static_cast(v8::ReadOnly | v8::DontDelete));
^
../src/wiringPi.cc:736:3: note: in expansion of macro ‘EXPORT_CONSTANT_INT’
EXPORT_CONSTANT_INT(HIGH);
^~~~~~~
In file included from /home/khvalov/.node-gyp/9.9.0/include/node/v8.h:26:0,
from ../src/addon.h:4,
from ../src/wiringPi.h:4,
from ../src/wiringPi.cc:1:
/home/khvalov/.node-gyp/9.9.0/include/node/v8.h:3165:29: note: candidate: v8::Maybe v8::Object::ForceSet(v8::Local, v8::Local, v8::Local, v8::PropertyAttribute)
Maybe ForceSet(Local context, Local key,
^
/home/khvalov/.node-gyp/9.9.0/include/node/v8config.h:318:3: note: in definition of macro ‘V8_DEPRECATED’
declarator attribute((deprecated(message)))
^~~~~~
/home/khvalov/.node-gyp/9.9.0/include/node/v8.h:3165:29: note: no known conversion for argument 3 from ‘v8::PropertyAttribute’ to ‘v8::Local’
Maybe ForceSet(Local context, Local key,
^
/home/khvalov/.node-gyp/9.9.0/include/node/v8config.h:318:3: note: in definition of macro ‘V8_DEPRECATED’
declarator attribute((deprecated(message)))
^~~~~~
In file included from ../src/wiringPi.h:4:0,
from ../src/wiringPi.cc:1:
../src/addon.h:46:105: error: no matching function for call to ‘v8::Object::ForceSet(v8::Local, v8::Local, v8::PropertyAttribute)’
v8::Int32::New(isolate, name), static_cast(v8::ReadOnly | v8::DontDelete));
^
../src/wiringPi.cc:737:3: note: in expansion of macro ‘EXPORT_CONSTANT_INT’
EXPORT_CONSTANT_INT(LOW);
^~~~~~~
In file included from /home/khvalov/.node-gyp/9.9.0/include/node/v8.h:26:0,
from ../src/addon.h:4,
from ../src/wiringPi.h:4,
from ../src/wiringPi.cc:1:
/home/khvalov/.node-gyp/9.9.0/include/node/v8.h:3165:29: note: candidate: v8::Maybe v8::Object::ForceSet(v8::Local, v8::Local, v8::Local, v8::PropertyAttribute)
Maybe ForceSet(Local context, Local key,
^
/home/khvalov/.node-gyp/9.9.0/include/node/v8config.h:318:3: note: in definition of macro ‘V8_DEPRECATED’
declarator attribute((deprecated(message)))
^~~~~~
/home/khvalov/.node-gyp/9.9.0/include/node/v8.h:3165:29: note: no known conversion for argument 3 from ‘v8::PropertyAttribute’ to ‘v8::Local’
Maybe ForceSet(Local context, Local key,
^
/home/khvalov/.node-gyp/9.9.0/include/node/v8config.h:318:3: note: in definition of macro ‘V8_DEPRECATED’
declarator attribute((deprecated(message)))
^~~~~~
In file included from ../src/wiringPi.h:4:0,
from ../src/wiringPi.cc:1:
../src/addon.h:46:105: error: no matching function for call to ‘v8::Object::ForceSet(v8::Local, v8::Local, v8::PropertyAttribute)’
v8::Int32::New(isolate, name), static_cast(v8::ReadOnly | v8::DontDelete));
^
../src/wiringPi.cc:740:3: note: in expansion of macro ‘EXPORT_CONSTANT_INT’
EXPORT_CONSTANT_INT(PWM_MODE_BAL);
^~~~~~~
In file included from /home/khvalov/.node-gyp/9.9.0/include/node/v8.h:26:0,
from ../src/addon.h:4,
from ../src/wiringPi.h:4,
from ../src/wiringPi.cc:1:
/home/khvalov/.node-gyp/9.9.0/include/node/v8.h:3165:29: note: candidate: v8::Maybe v8::Object::ForceSet(v8::Local, v8::Local, v8::Local, v8::PropertyAttribute)
Maybe ForceSet(Local context, Local key,
^
/home/khvalov/.node-gyp/9.9.0/include/node/v8config.h:318:3: note: in definition of macro ‘V8_DEPRECATED’
declarator attribute((deprecated(message)))
^~~~~~
/home/khvalov/.node-gyp/9.9.0/include/node/v8.h:3165:29: note: no known conversion for argument 3 from ‘v8::PropertyAttribute’ to ‘v8::Local’
Maybe
Hi, have next log: 0 info it worked if it ends with ok 1 verbose cli [ '/usr/bin/node', '/usr/bin/npm', 'install', '-g', 'wiring-pi' ] 2 info using npm@5.6.0 3 info using node@v9.9.0 4 verbose npm-session 94a0b2b8756458cc 5 silly install loadCurrentTree 6 silly install readGlobalPackageData 7 http fetch GET 304 https://registry.npmjs.org/wiring-pi 512ms (from cache) 8 silly pacote tag manifest for wiring-pi@latest fetched in 685ms 9 silly install loadIdealTree 10 silly install cloneCurrentTreeToIdealTree 11 silly install loadShrinkwrap 12 silly install loadAllDepsIntoIdealTree 13 silly resolveWithNewModule wiring-pi@2.2.1 checking installable status 14 silly currentTree lib 15 silly idealTree lib 15 silly idealTree └── wiring-pi@2.2.1 16 silly install generateActionsToTake 17 silly diffTrees action count 1 18 silly diffTrees add wiring-pi@2.2.1 19 silly decomposeActions action count 8 20 silly decomposeActions fetch wiring-pi@2.2.1 21 silly decomposeActions extract wiring-pi@2.2.1 22 silly decomposeActions preinstall wiring-pi@2.2.1 23 silly decomposeActions build wiring-pi@2.2.1 24 silly decomposeActions install wiring-pi@2.2.1 25 silly decomposeActions postinstall wiring-pi@2.2.1 26 silly decomposeActions finalize wiring-pi@2.2.1 27 silly decomposeActions refresh-package-json wiring-pi@2.2.1 28 silly install executeActions 29 silly doSerial global-install 8 30 verbose correctMkdir /root/.npm/_locks correctMkdir not in flight; initializing 31 verbose lock using /root/.npm/_locks/staging-a072192f34a17023.lock for /usr/lib/node_modules/.staging 32 silly doParallel extract 8 33 silly extract wiring-pi@2.2.1 34 silly pacote trying wiring-pi@https://registry.npmjs.org/wiring-pi/-/wiring-pi-2.2.1.tgz by hash: sha1-z5FzH9AQv8hZSIkGTE8Ok3To3dQ= 35 silly pacote wiring-pi@https://registry.npmjs.org/wiring-pi/-/wiring-pi-2.2.1.tgz extracted to /usr/lib/node_modules/.staging/wiring-pi-5954c531 by content address 731ms 36 silly doReverseSerial unbuild 8 37 silly doSerial remove 8 38 silly doSerial move 8 39 silly doSerial finalize 8 40 silly finalize /usr/lib/node_modules/wiring-pi 41 silly doParallel refresh-package-json 8 42 silly refresh-package-json /usr/lib/node_modules/wiring-pi 43 silly doParallel preinstall 8 44 silly preinstall wiring-pi@2.2.1 45 info lifecycle wiring-pi@2.2.1~preinstall: wiring-pi@2.2.1 46 silly doSerial build 8 47 silly build wiring-pi@2.2.1 48 info linkStuff wiring-pi@2.2.1 49 silly linkStuff wiring-pi@2.2.1 has /usr/lib/node_modules as its parent node_modules 50 silly linkStuff wiring-pi@2.2.1 is part of a global install 51 silly linkStuff wiring-pi@2.2.1 is installed into a global node_modules 52 silly linkStuff wiring-pi@2.2.1 is installed into the top-level global node_modules 53 verbose linkBins wiring-pi@2.2.1 54 verbose linkMans wiring-pi@2.2.1 55 silly doSerial global-link 8 56 silly doParallel update-linked 8 57 silly doSerial install 8 58 silly install wiring-pi@2.2.1 59 info lifecycle wiring-pi@2.2.1~install: wiring-pi@2.2.1 60 verbose lifecycle wiring-pi@2.2.1~install: unsafe-perm in lifecycle false 61 verbose lifecycle wiring-pi@2.2.1~install: PATH: /usr/lib/node_modules/npm/node_modules/npm-lifecycle/node-gyp-bin:/usr/lib/node_modules/wiring-pi/node_modules/.bin:/usr/lib/node_modules/.bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin 62 verbose lifecycle wiring-pi@2.2.1~install: CWD: /usr/lib/node_modules/wiring-pi 63 silly lifecycle wiring-pi@2.2.1~install: Args: [ '-c', '/bin/bash ./install.sh' ] 64 silly lifecycle wiring-pi@2.2.1~install: Returned: code: 1 signal: null 65 info lifecycle wiring-pi@2.2.1~install: Failed to exec install script 66 verbose unlock done using /root/.npm/_locks/staging-a072192f34a17023.lock for /usr/lib/node_modules/.staging 67 verbose stack Error: wiring-pi@2.2.1 install: (/usr/lib/node_modules/npm/node_modules/npm-lifecycle/index.js:285:16)
67 verbose stack at EventEmitter.emit (events.js:180:13)
67 verbose stack at ChildProcess. (/usr/lib/node_modules/npm/node_modules/npm-lifecycle/lib/spawn.js:55:14)
67 verbose stack at ChildProcess.emit (events.js:180:13)
67 verbose stack at maybeClose (internal/child_process.js:936:16)
67 verbose stack at Process.ChildProcess._handle.onexit (internal/child_process.js:220:5)
68 verbose pkgid wiring-pi@2.2.1
69 verbose cwd /home/khvalov/node_modules/wiring-pi/examples
70 verbose Linux 4.14.18-sunxi
71 verbose argv "/usr/bin/node" "/usr/bin/npm" "install" "-g" "wiring-pi"
72 verbose node v9.9.0
73 verbose npm v5.6.0
74 error code ELIFECYCLE
75 error errno 1
76 error wiring-pi@2.2.1 install: )’:
../src/addon.h:46:105: error: no matching function for call to ‘v8::Object::ForceSet(v8::Local, v8::Local, v8::PropertyAttribute)’
v8::Int32::New(isolate, name), static_cast(v8::ReadOnly | v8::DontDelete));
^
../src/wiringPi.cc:714:3: note: in expansion of macro ‘EXPORT_CONSTANT_INT’
EXPORT_CONSTANT_INT(WPI_MODE_PINS);
^ v8::Object::ForceSet(v8::Local, v8::Local, v8::Local, v8::PropertyAttribute)
Maybe ForceSet(Local context, Local key,
^
/home/khvalov/.node-gyp/9.9.0/include/node/v8config.h:318:3: note: in definition of macro ‘V8_DEPRECATED’
declarator attribute((deprecated(message)))
^’
Maybe ForceSet(Local context, Local key,
^
/home/khvalov/.node-gyp/9.9.0/include/node/v8config.h:318:3: note: in definition of macro ‘V8_DEPRECATED’
declarator attribute((deprecated(message)))
^, v8::Local, v8::PropertyAttribute)’
v8::Int32::New(isolate, name), static_cast(v8::ReadOnly | v8::DontDelete));
^
../src/wiringPi.cc:715:3: note: in expansion of macro ‘EXPORT_CONSTANT_INT’
EXPORT_CONSTANT_INT(WPI_MODE_PHYS);
^ v8::Object::ForceSet(v8::Local, v8::Local, v8::Local, v8::PropertyAttribute)
Maybe ForceSet(Local context, Local key,
^
/home/khvalov/.node-gyp/9.9.0/include/node/v8config.h:318:3: note: in definition of macro ‘V8_DEPRECATED’
declarator attribute((deprecated(message)))
^’
Maybe ForceSet(Local context, Local key,
^
/home/khvalov/.node-gyp/9.9.0/include/node/v8config.h:318:3: note: in definition of macro ‘V8_DEPRECATED’
declarator attribute((deprecated(message)))
^, v8::Local, v8::PropertyAttribute)’
v8::Int32::New(isolate, name), static_cast(v8::ReadOnly | v8::DontDelete));
^
../src/wiringPi.cc:716:3: note: in expansion of macro ‘EXPORT_CONSTANT_INT’
EXPORT_CONSTANT_INT(WPI_MODE_GPIO);
^ v8::Object::ForceSet(v8::Local, v8::Local, v8::Local, v8::PropertyAttribute)
Maybe ForceSet(Local context, Local key,
^
/home/khvalov/.node-gyp/9.9.0/include/node/v8config.h:318:3: note: in definition of macro ‘V8_DEPRECATED’
declarator attribute((deprecated(message)))
^’
Maybe ForceSet(Local context, Local key,
^
/home/khvalov/.node-gyp/9.9.0/include/node/v8config.h:318:3: note: in definition of macro ‘V8_DEPRECATED’
declarator attribute((deprecated(message)))
^, v8::Local, v8::PropertyAttribute)’
v8::Int32::New(isolate, name), static_cast(v8::ReadOnly | v8::DontDelete));
^
../src/wiringPi.cc:717:3: note: in expansion of macro ‘EXPORT_CONSTANT_INT’
EXPORT_CONSTANT_INT(WPI_MODE_GPIO_SYS);
^ v8::Object::ForceSet(v8::Local, v8::Local, v8::Local, v8::PropertyAttribute)
Maybe ForceSet(Local context, Local key,
^
/home/khvalov/.node-gyp/9.9.0/include/node/v8config.h:318:3: note: in definition of macro ‘V8_DEPRECATED’
declarator attribute((deprecated(message)))
^’
Maybe ForceSet(Local context, Local key,
^
/home/khvalov/.node-gyp/9.9.0/include/node/v8config.h:318:3: note: in definition of macro ‘V8_DEPRECATED’
declarator attribute((deprecated(message)))
^, v8::Local, v8::PropertyAttribute)’
v8::Int32::New(isolate, name), static_cast(v8::ReadOnly | v8::DontDelete));
^
../src/wiringPi.cc:718:3: note: in expansion of macro ‘EXPORT_CONSTANT_INT’
EXPORT_CONSTANT_INT(WPI_MODE_PIFACE);
^ v8::Object::ForceSet(v8::Local, v8::Local, v8::Local, v8::PropertyAttribute)
Maybe ForceSet(Local context, Local key,
^
/home/khvalov/.node-gyp/9.9.0/include/node/v8config.h:318:3: note: in definition of macro ‘V8_DEPRECATED’
declarator attribute((deprecated(message)))
^’
Maybe ForceSet(Local context, Local key,
^
/home/khvalov/.node-gyp/9.9.0/include/node/v8config.h:318:3: note: in definition of macro ‘V8_DEPRECATED’
declarator attribute((deprecated(message)))
^, v8::Local, v8::PropertyAttribute)’
v8::Int32::New(isolate, name), static_cast(v8::ReadOnly | v8::DontDelete));
^
../src/wiringPi.cc:719:3: note: in expansion of macro ‘EXPORT_CONSTANT_INT’
EXPORT_CONSTANT_INT(WPI_MODE_UNINITIALISED);
^ v8::Object::ForceSet(v8::Local, v8::Local, v8::Local, v8::PropertyAttribute)
Maybe ForceSet(Local context, Local key,
^
/home/khvalov/.node-gyp/9.9.0/include/node/v8config.h:318:3: note: in definition of macro ‘V8_DEPRECATED’
declarator attribute((deprecated(message)))
^’
Maybe ForceSet(Local context, Local key,
^
/home/khvalov/.node-gyp/9.9.0/include/node/v8config.h:318:3: note: in definition of macro ‘V8_DEPRECATED’
declarator attribute((deprecated(message)))
^, v8::Local, v8::PropertyAttribute)’
v8::Int32::New(isolate, name), static_cast(v8::ReadOnly | v8::DontDelete));
^
../src/wiringPi.cc:723:3: note: in expansion of macro ‘EXPORT_CONSTANT_INT’
EXPORT_CONSTANT_INT(INPUT);
^ v8::Object::ForceSet(v8::Local, v8::Local, v8::Local, v8::PropertyAttribute)
Maybe ForceSet(Local context, Local key,
^
/home/khvalov/.node-gyp/9.9.0/include/node/v8config.h:318:3: note: in definition of macro ‘V8_DEPRECATED’
declarator attribute((deprecated(message)))
^’
Maybe ForceSet(Local context, Local key,
^
/home/khvalov/.node-gyp/9.9.0/include/node/v8config.h:318:3: note: in definition of macro ‘V8_DEPRECATED’
declarator attribute((deprecated(message)))
^, v8::Local, v8::PropertyAttribute)’
v8::Int32::New(isolate, name), static_cast(v8::ReadOnly | v8::DontDelete));
^
../src/wiringPi.cc:724:3: note: in expansion of macro ‘EXPORT_CONSTANT_INT’
EXPORT_CONSTANT_INT(OUTPUT);
^ v8::Object::ForceSet(v8::Local, v8::Local, v8::Local, v8::PropertyAttribute)
Maybe ForceSet(Local context, Local key,
^
/home/khvalov/.node-gyp/9.9.0/include/node/v8config.h:318:3: note: in definition of macro ‘V8_DEPRECATED’
declarator attribute((deprecated(message)))
^’
Maybe ForceSet(Local context, Local key,
^
/home/khvalov/.node-gyp/9.9.0/include/node/v8config.h:318:3: note: in definition of macro ‘V8_DEPRECATED’
declarator attribute((deprecated(message)))
^, v8::Local, v8::PropertyAttribute)’
v8::Int32::New(isolate, name), static_cast(v8::ReadOnly | v8::DontDelete));
^
../src/wiringPi.cc:725:3: note: in expansion of macro ‘EXPORT_CONSTANT_INT’
EXPORT_CONSTANT_INT(PWM_OUTPUT);
^ v8::Object::ForceSet(v8::Local, v8::Local, v8::Local, v8::PropertyAttribute)
Maybe ForceSet(Local context, Local key,
^
/home/khvalov/.node-gyp/9.9.0/include/node/v8config.h:318:3: note: in definition of macro ‘V8_DEPRECATED’
declarator attribute((deprecated(message)))
^’
Maybe ForceSet(Local context, Local key,
^
/home/khvalov/.node-gyp/9.9.0/include/node/v8config.h:318:3: note: in definition of macro ‘V8_DEPRECATED’
declarator attribute((deprecated(message)))
^, v8::Local, v8::PropertyAttribute)’
v8::Int32::New(isolate, name), static_cast(v8::ReadOnly | v8::DontDelete));
^
../src/wiringPi.cc:726:3: note: in expansion of macro ‘EXPORT_CONSTANT_INT’
EXPORT_CONSTANT_INT(GPIO_CLOCK);
^ v8::Object::ForceSet(v8::Local, v8::Local, v8::Local, v8::PropertyAttribute)
Maybe ForceSet(Local context, Local key,
^
/home/khvalov/.node-gyp/9.9.0/include/node/v8config.h:318:3: note: in definition of macro ‘V8_DEPRECATED’
declarator attribute((deprecated(message)))
^’
Maybe ForceSet(Local context, Local key,
^
/home/khvalov/.node-gyp/9.9.0/include/node/v8config.h:318:3: note: in definition of macro ‘V8_DEPRECATED’
declarator attribute((deprecated(message)))
^, v8::Local, v8::PropertyAttribute)’
v8::Int32::New(isolate, name), static_cast(v8::ReadOnly | v8::DontDelete));
^
../src/wiringPi.cc:727:3: note: in expansion of macro ‘EXPORT_CONSTANT_INT’
EXPORT_CONSTANT_INT(SOFT_PWM_OUTPUT);
^ v8::Object::ForceSet(v8::Local, v8::Local, v8::Local, v8::PropertyAttribute)
Maybe ForceSet(Local context, Local key,
^
/home/khvalov/.node-gyp/9.9.0/include/node/v8config.h:318:3: note: in definition of macro ‘V8_DEPRECATED’
declarator attribute((deprecated(message)))
^’
Maybe ForceSet(Local context, Local key,
^
/home/khvalov/.node-gyp/9.9.0/include/node/v8config.h:318:3: note: in definition of macro ‘V8_DEPRECATED’
declarator attribute((deprecated(message)))
^, v8::Local, v8::PropertyAttribute)’
v8::Int32::New(isolate, name), static_cast(v8::ReadOnly | v8::DontDelete));
^
../src/wiringPi.cc:728:3: note: in expansion of macro ‘EXPORT_CONSTANT_INT’
EXPORT_CONSTANT_INT(SOFT_TONE_OUTPUT);
^ v8::Object::ForceSet(v8::Local, v8::Local, v8::Local, v8::PropertyAttribute)
Maybe ForceSet(Local context, Local key,
^
/home/khvalov/.node-gyp/9.9.0/include/node/v8config.h:318:3: note: in definition of macro ‘V8_DEPRECATED’
declarator attribute((deprecated(message)))
^’
Maybe ForceSet(Local context, Local key,
^
/home/khvalov/.node-gyp/9.9.0/include/node/v8config.h:318:3: note: in definition of macro ‘V8_DEPRECATED’
declarator attribute((deprecated(message)))
^, v8::Local, v8::PropertyAttribute)’
v8::Int32::New(isolate, name), static_cast(v8::ReadOnly | v8::DontDelete));
^
../src/wiringPi.cc:731:3: note: in expansion of macro ‘EXPORT_CONSTANT_INT’
EXPORT_CONSTANT_INT(PUD_OFF);
^ v8::Object::ForceSet(v8::Local, v8::Local, v8::Local, v8::PropertyAttribute)
Maybe ForceSet(Local context, Local key,
^
/home/khvalov/.node-gyp/9.9.0/include/node/v8config.h:318:3: note: in definition of macro ‘V8_DEPRECATED’
declarator attribute((deprecated(message)))
^’
Maybe ForceSet(Local context, Local key,
^
/home/khvalov/.node-gyp/9.9.0/include/node/v8config.h:318:3: note: in definition of macro ‘V8_DEPRECATED’
declarator attribute((deprecated(message)))
^, v8::Local, v8::PropertyAttribute)’
v8::Int32::New(isolate, name), static_cast(v8::ReadOnly | v8::DontDelete));
^
../src/wiringPi.cc:732:3: note: in expansion of macro ‘EXPORT_CONSTANT_INT’
EXPORT_CONSTANT_INT(PUD_DOWN);
^ v8::Object::ForceSet(v8::Local, v8::Local, v8::Local, v8::PropertyAttribute)
Maybe ForceSet(Local context, Local key,
^
/home/khvalov/.node-gyp/9.9.0/include/node/v8config.h:318:3: note: in definition of macro ‘V8_DEPRECATED’
declarator attribute((deprecated(message)))
^’
Maybe ForceSet(Local context, Local key,
^
/home/khvalov/.node-gyp/9.9.0/include/node/v8config.h:318:3: note: in definition of macro ‘V8_DEPRECATED’
declarator attribute((deprecated(message)))
^, v8::Local, v8::PropertyAttribute)’
v8::Int32::New(isolate, name), static_cast(v8::ReadOnly | v8::DontDelete));
^
../src/wiringPi.cc:733:3: note: in expansion of macro ‘EXPORT_CONSTANT_INT’
EXPORT_CONSTANT_INT(PUD_UP);
^ v8::Object::ForceSet(v8::Local, v8::Local, v8::Local, v8::PropertyAttribute)
Maybe ForceSet(Local context, Local key,
^
/home/khvalov/.node-gyp/9.9.0/include/node/v8config.h:318:3: note: in definition of macro ‘V8_DEPRECATED’
declarator attribute((deprecated(message)))
^’
Maybe ForceSet(Local context, Local key,
^
/home/khvalov/.node-gyp/9.9.0/include/node/v8config.h:318:3: note: in definition of macro ‘V8_DEPRECATED’
declarator attribute((deprecated(message)))
^, v8::Local, v8::PropertyAttribute)’
v8::Int32::New(isolate, name), static_cast(v8::ReadOnly | v8::DontDelete));
^
../src/wiringPi.cc:736:3: note: in expansion of macro ‘EXPORT_CONSTANT_INT’
EXPORT_CONSTANT_INT(HIGH);
^ v8::Object::ForceSet(v8::Local, v8::Local, v8::Local, v8::PropertyAttribute)
Maybe ForceSet(Local context, Local key,
^
/home/khvalov/.node-gyp/9.9.0/include/node/v8config.h:318:3: note: in definition of macro ‘V8_DEPRECATED’
declarator attribute((deprecated(message)))
^’
Maybe ForceSet(Local context, Local key,
^
/home/khvalov/.node-gyp/9.9.0/include/node/v8config.h:318:3: note: in definition of macro ‘V8_DEPRECATED’
declarator attribute((deprecated(message)))
^, v8::Local, v8::PropertyAttribute)’
v8::Int32::New(isolate, name), static_cast(v8::ReadOnly | v8::DontDelete));
^
../src/wiringPi.cc:737:3: note: in expansion of macro ‘EXPORT_CONSTANT_INT’
EXPORT_CONSTANT_INT(LOW);
^ v8::Object::ForceSet(v8::Local, v8::Local, v8::Local, v8::PropertyAttribute)
Maybe ForceSet(Local context, Local key,
^
/home/khvalov/.node-gyp/9.9.0/include/node/v8config.h:318:3: note: in definition of macro ‘V8_DEPRECATED’
declarator attribute((deprecated(message)))
^’
Maybe ForceSet(Local context, Local key,
^
/home/khvalov/.node-gyp/9.9.0/include/node/v8config.h:318:3: note: in definition of macro ‘V8_DEPRECATED’
declarator attribute((deprecated(message)))
^, v8::Local, v8::PropertyAttribute)’
v8::Int32::New(isolate, name), static_cast(v8::ReadOnly | v8::DontDelete));
^
../src/wiringPi.cc:740:3: note: in expansion of macro ‘EXPORT_CONSTANT_INT’
EXPORT_CONSTANT_INT(PWM_MODE_BAL);
^ v8::Object::ForceSet(v8::Local, v8::Local, v8::Local, v8::PropertyAttribute)
Maybe ForceSet(Local context, Local key,
^
/home/khvalov/.node-gyp/9.9.0/include/node/v8config.h:318:3: note: in definition of macro ‘V8_DEPRECATED’
declarator attribute((deprecated(message)))
^’
Maybe
/bin/bash ./install.sh
67 verbose stack Exit status 1 67 verbose stack at EventEmitter./bin/bash ./install.sh
76 error Exit status 1 77 error Failed at the wiring-pi@2.2.1 install script. 77 error This is probably not a problem with npm. There is likely additional logging output above. 78 verbose exit [ 1, true ] and output itself: Making wiring-pi ... make: Entering directory '/home/khvalov/node_modules/wiring-pi/build' CXX(target) Release/obj.target/wiringPi/src/addon.o CXX(target) Release/obj.target/wiringPi/src/wiringPi.o In file included from ../src/wiringPi.h:4:0, from ../src/wiringPi.cc:1: ../src/wiringPi.cc: In function ‘void nodemodule::initwiringPi(v8::Isolate*, v8::Handle~~~~~~ In file included from /home/khvalov/.node-gyp/9.9.0/include/node/v8.h:26:0, from ../src/addon.h:4, from ../src/wiringPi.h:4, from ../src/wiringPi.cc:1: /home/khvalov/.node-gyp/9.9.0/include/node/v8.h:3165:29: note: candidate: v8::Maybe~~~~~ /home/khvalov/.node-gyp/9.9.0/include/node/v8.h:3165:29: note: no known conversion for argument 3 from ‘v8::PropertyAttribute’ to ‘v8::Local~~~~~ In file included from ../src/wiringPi.h:4:0, from ../src/wiringPi.cc:1: ../src/addon.h:46:105: error: no matching function for call to ‘v8::Object::ForceSet(v8::Local~~~~~~ In file included from /home/khvalov/.node-gyp/9.9.0/include/node/v8.h:26:0, from ../src/addon.h:4, from ../src/wiringPi.h:4, from ../src/wiringPi.cc:1: /home/khvalov/.node-gyp/9.9.0/include/node/v8.h:3165:29: note: candidate: v8::Maybe~~~~~ /home/khvalov/.node-gyp/9.9.0/include/node/v8.h:3165:29: note: no known conversion for argument 3 from ‘v8::PropertyAttribute’ to ‘v8::Local~~~~~ In file included from ../src/wiringPi.h:4:0, from ../src/wiringPi.cc:1: ../src/addon.h:46:105: error: no matching function for call to ‘v8::Object::ForceSet(v8::Local~~~~~~ In file included from /home/khvalov/.node-gyp/9.9.0/include/node/v8.h:26:0, from ../src/addon.h:4, from ../src/wiringPi.h:4, from ../src/wiringPi.cc:1: /home/khvalov/.node-gyp/9.9.0/include/node/v8.h:3165:29: note: candidate: v8::Maybe~~~~~ /home/khvalov/.node-gyp/9.9.0/include/node/v8.h:3165:29: note: no known conversion for argument 3 from ‘v8::PropertyAttribute’ to ‘v8::Local~~~~~ In file included from ../src/wiringPi.h:4:0, from ../src/wiringPi.cc:1: ../src/addon.h:46:105: error: no matching function for call to ‘v8::Object::ForceSet(v8::Local~~~~~~ In file included from /home/khvalov/.node-gyp/9.9.0/include/node/v8.h:26:0, from ../src/addon.h:4, from ../src/wiringPi.h:4, from ../src/wiringPi.cc:1: /home/khvalov/.node-gyp/9.9.0/include/node/v8.h:3165:29: note: candidate: v8::Maybe~~~~~ /home/khvalov/.node-gyp/9.9.0/include/node/v8.h:3165:29: note: no known conversion for argument 3 from ‘v8::PropertyAttribute’ to ‘v8::Local~~~~~ In file included from ../src/wiringPi.h:4:0, from ../src/wiringPi.cc:1: ../src/addon.h:46:105: error: no matching function for call to ‘v8::Object::ForceSet(v8::Local~~~~~~ In file included from /home/khvalov/.node-gyp/9.9.0/include/node/v8.h:26:0, from ../src/addon.h:4, from ../src/wiringPi.h:4, from ../src/wiringPi.cc:1: /home/khvalov/.node-gyp/9.9.0/include/node/v8.h:3165:29: note: candidate: v8::Maybe~~~~~ /home/khvalov/.node-gyp/9.9.0/include/node/v8.h:3165:29: note: no known conversion for argument 3 from ‘v8::PropertyAttribute’ to ‘v8::Local~~~~~ In file included from ../src/wiringPi.h:4:0, from ../src/wiringPi.cc:1: ../src/addon.h:46:105: error: no matching function for call to ‘v8::Object::ForceSet(v8::Local~~~~~~ In file included from /home/khvalov/.node-gyp/9.9.0/include/node/v8.h:26:0, from ../src/addon.h:4, from ../src/wiringPi.h:4, from ../src/wiringPi.cc:1: /home/khvalov/.node-gyp/9.9.0/include/node/v8.h:3165:29: note: candidate: v8::Maybe~~~~~ /home/khvalov/.node-gyp/9.9.0/include/node/v8.h:3165:29: note: no known conversion for argument 3 from ‘v8::PropertyAttribute’ to ‘v8::Local~~~~~ In file included from ../src/wiringPi.h:4:0, from ../src/wiringPi.cc:1: ../src/addon.h:46:105: error: no matching function for call to ‘v8::Object::ForceSet(v8::Local~~~~~~ In file included from /home/khvalov/.node-gyp/9.9.0/include/node/v8.h:26:0, from ../src/addon.h:4, from ../src/wiringPi.h:4, from ../src/wiringPi.cc:1: /home/khvalov/.node-gyp/9.9.0/include/node/v8.h:3165:29: note: candidate: v8::Maybe~~~~~ /home/khvalov/.node-gyp/9.9.0/include/node/v8.h:3165:29: note: no known conversion for argument 3 from ‘v8::PropertyAttribute’ to ‘v8::Local~~~~~ In file included from ../src/wiringPi.h:4:0, from ../src/wiringPi.cc:1: ../src/addon.h:46:105: error: no matching function for call to ‘v8::Object::ForceSet(v8::Local~~~~~~ In file included from /home/khvalov/.node-gyp/9.9.0/include/node/v8.h:26:0, from ../src/addon.h:4, from ../src/wiringPi.h:4, from ../src/wiringPi.cc:1: /home/khvalov/.node-gyp/9.9.0/include/node/v8.h:3165:29: note: candidate: v8::Maybe~~~~~ /home/khvalov/.node-gyp/9.9.0/include/node/v8.h:3165:29: note: no known conversion for argument 3 from ‘v8::PropertyAttribute’ to ‘v8::Local~~~~~ In file included from ../src/wiringPi.h:4:0, from ../src/wiringPi.cc:1: ../src/addon.h:46:105: error: no matching function for call to ‘v8::Object::ForceSet(v8::Local~~~~~~ In file included from /home/khvalov/.node-gyp/9.9.0/include/node/v8.h:26:0, from ../src/addon.h:4, from ../src/wiringPi.h:4, from ../src/wiringPi.cc:1: /home/khvalov/.node-gyp/9.9.0/include/node/v8.h:3165:29: note: candidate: v8::Maybe~~~~~ /home/khvalov/.node-gyp/9.9.0/include/node/v8.h:3165:29: note: no known conversion for argument 3 from ‘v8::PropertyAttribute’ to ‘v8::Local~~~~~ In file included from ../src/wiringPi.h:4:0, from ../src/wiringPi.cc:1: ../src/addon.h:46:105: error: no matching function for call to ‘v8::Object::ForceSet(v8::Local~~~~~~ In file included from /home/khvalov/.node-gyp/9.9.0/include/node/v8.h:26:0, from ../src/addon.h:4, from ../src/wiringPi.h:4, from ../src/wiringPi.cc:1: /home/khvalov/.node-gyp/9.9.0/include/node/v8.h:3165:29: note: candidate: v8::Maybe~~~~~ /home/khvalov/.node-gyp/9.9.0/include/node/v8.h:3165:29: note: no known conversion for argument 3 from ‘v8::PropertyAttribute’ to ‘v8::Local~~~~~ In file included from ../src/wiringPi.h:4:0, from ../src/wiringPi.cc:1: ../src/addon.h:46:105: error: no matching function for call to ‘v8::Object::ForceSet(v8::Local~~~~~~ In file included from /home/khvalov/.node-gyp/9.9.0/include/node/v8.h:26:0, from ../src/addon.h:4, from ../src/wiringPi.h:4, from ../src/wiringPi.cc:1: /home/khvalov/.node-gyp/9.9.0/include/node/v8.h:3165:29: note: candidate: v8::Maybe~~~~~ /home/khvalov/.node-gyp/9.9.0/include/node/v8.h:3165:29: note: no known conversion for argument 3 from ‘v8::PropertyAttribute’ to ‘v8::Local~~~~~ In file included from ../src/wiringPi.h:4:0, from ../src/wiringPi.cc:1: ../src/addon.h:46:105: error: no matching function for call to ‘v8::Object::ForceSet(v8::Local~~~~~~ In file included from /home/khvalov/.node-gyp/9.9.0/include/node/v8.h:26:0, from ../src/addon.h:4, from ../src/wiringPi.h:4, from ../src/wiringPi.cc:1: /home/khvalov/.node-gyp/9.9.0/include/node/v8.h:3165:29: note: candidate: v8::Maybe~~~~~ /home/khvalov/.node-gyp/9.9.0/include/node/v8.h:3165:29: note: no known conversion for argument 3 from ‘v8::PropertyAttribute’ to ‘v8::Local~~~~~ In file included from ../src/wiringPi.h:4:0, from ../src/wiringPi.cc:1: ../src/addon.h:46:105: error: no matching function for call to ‘v8::Object::ForceSet(v8::Local~~~~~~ In file included from /home/khvalov/.node-gyp/9.9.0/include/node/v8.h:26:0, from ../src/addon.h:4, from ../src/wiringPi.h:4, from ../src/wiringPi.cc:1: /home/khvalov/.node-gyp/9.9.0/include/node/v8.h:3165:29: note: candidate: v8::Maybe~~~~~ /home/khvalov/.node-gyp/9.9.0/include/node/v8.h:3165:29: note: no known conversion for argument 3 from ‘v8::PropertyAttribute’ to ‘v8::Local~~~~~ In file included from ../src/wiringPi.h:4:0, from ../src/wiringPi.cc:1: ../src/addon.h:46:105: error: no matching function for call to ‘v8::Object::ForceSet(v8::Local~~~~~~ In file included from /home/khvalov/.node-gyp/9.9.0/include/node/v8.h:26:0, from ../src/addon.h:4, from ../src/wiringPi.h:4, from ../src/wiringPi.cc:1: /home/khvalov/.node-gyp/9.9.0/include/node/v8.h:3165:29: note: candidate: v8::Maybe~~~~~ /home/khvalov/.node-gyp/9.9.0/include/node/v8.h:3165:29: note: no known conversion for argument 3 from ‘v8::PropertyAttribute’ to ‘v8::Local~~~~~ In file included from ../src/wiringPi.h:4:0, from ../src/wiringPi.cc:1: ../src/addon.h:46:105: error: no matching function for call to ‘v8::Object::ForceSet(v8::Local~~~~~~ In file included from /home/khvalov/.node-gyp/9.9.0/include/node/v8.h:26:0, from ../src/addon.h:4, from ../src/wiringPi.h:4, from ../src/wiringPi.cc:1: /home/khvalov/.node-gyp/9.9.0/include/node/v8.h:3165:29: note: candidate: v8::Maybe~~~~~ /home/khvalov/.node-gyp/9.9.0/include/node/v8.h:3165:29: note: no known conversion for argument 3 from ‘v8::PropertyAttribute’ to ‘v8::Local~~~~~ In file included from ../src/wiringPi.h:4:0, from ../src/wiringPi.cc:1: ../src/addon.h:46:105: error: no matching function for call to ‘v8::Object::ForceSet(v8::Local~~~~~~ In file included from /home/khvalov/.node-gyp/9.9.0/include/node/v8.h:26:0, from ../src/addon.h:4, from ../src/wiringPi.h:4, from ../src/wiringPi.cc:1: /home/khvalov/.node-gyp/9.9.0/include/node/v8.h:3165:29: note: candidate: v8::Maybe~~~~~ /home/khvalov/.node-gyp/9.9.0/include/node/v8.h:3165:29: note: no known conversion for argument 3 from ‘v8::PropertyAttribute’ to ‘v8::Local~~~~~ In file included from ../src/wiringPi.h:4:0, from ../src/wiringPi.cc:1: ../src/addon.h:46:105: error: no matching function for call to ‘v8::Object::ForceSet(v8::Local~~~~~~ In file included from /home/khvalov/.node-gyp/9.9.0/include/node/v8.h:26:0, from ../src/addon.h:4, from ../src/wiringPi.h:4, from ../src/wiringPi.cc:1: /home/khvalov/.node-gyp/9.9.0/include/node/v8.h:3165:29: note: candidate: v8::Maybe~~~~~ /home/khvalov/.node-gyp/9.9.0/include/node/v8.h:3165:29: note: no known conversion for argument 3 from ‘v8::PropertyAttribute’ to ‘v8::Local~~~~~ In file included from ../src/wiringPi.h:4:0, from ../src/wiringPi.cc:1: ../src/addon.h:46:105: error: no matching function for call to ‘v8::Object::ForceSet(v8::Local~~~~~~ In file included from /home/khvalov/.node-gyp/9.9.0/include/node/v8.h:26:0, from ../src/addon.h:4, from ../src/wiringPi.h:4, from ../src/wiringPi.cc:1: /home/khvalov/.node-gyp/9.9.0/include/node/v8.h:3165:29: note: candidate: v8::Maybe~~~~~ /home/khvalov/.node-gyp/9.9.0/include/node/v8.h:3165:29: note: no known conversion for argument 3 from ‘v8::PropertyAttribute’ to ‘v8::Local