Open enseitankado opened 4 years ago
$ npm install node-shm
[...] ../src/main.cc:157:46: **error: no matching function for call to ‘v8::Value::Uint32Value()’** [122/1277] int shmid = ::shmget(args[0]->Uint32Value(), 0, 0); ^ [...] make: *** [node-shm.target.mk:107: Release/obj.target/node-shm/src/main.o] Error 1 make: Leaving directory '/home/pi/dev/node-red-contrib-ss963-driver/node_modules/node-shm/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:194:23) gyp ERR! stack at ChildProcess.emit (events.js:315:20) gyp ERR! stack at Process.ChildProcess._handle.onexit (internal/child_process.js:275:12) gyp ERR! System Linux 4.19.97-v7+ gyp ERR! command "/usr/bin/node" "/usr/lib/node_modules/npm/node_modules/node-gyp/bin/node-gyp.js" "rebuild" gyp ERR! cwd /home/pi/dev/node-red-contrib-ss963-driver/node_modules/node-shm gyp ERR! node -v v12.17.0 gyp ERR! node-gyp -v v5.1.0 gyp ERR! not ok npm WARN node-red-contrib-ss963-driver@1.0.0 No repository field.
Uint32Value() was deprecated. https://github.com/bcoin-org/bcrypto/issues/7
$ npm install node-shm
Uint32Value() was deprecated. https://github.com/bcoin-org/bcrypto/issues/7