vampserv / node-poker-stack

node.js based poker game server and HTML5 web client
125 stars 95 forks source link

gyp ERR! build error #10

Open laplasz opened 4 years ago

laplasz commented 4 years ago
../src/heapdump.cc:158:74: error: no matching function for call to ‘v8::HeapProfiler::TakeHeapSnapshot(v8::Local<v8::String>)’
       isolate->GetHeapProfiler()->TakeHeapSnapshot(String::Empty(isolate)));
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:191:23)
gyp ERR! stack     at ChildProcess.emit (events.js:198:13)
gyp ERR! stack     at Process.ChildProcess._handle.onexit (internal/child_process.js:248:12)
gyp ERR! System Linux 4.15.0-88-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/attila/git/node-poker-stack/game-server/node_modules/heapdump
gyp ERR! node -v v10.19.0
gyp ERR! node-gyp -v v5.0.5
gyp ERR! not ok 
npm WARN poker-game-stack-server@0.0.1 No repository field.
npm WARN poker-game-stack-server@0.0.1 No license field.

npm ERR! code ELIFECYCLE
npm ERR! errno 1
npm ERR! heapdump@0.2.9 install: `node-gyp rebuild`
npm ERR! Exit status 1
npm ERR! 
npm ERR! Failed at the heapdump@0.2.9 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:
245 warn poker-game-stack-server@0.0.1 No repository field.
246 warn poker-game-stack-server@0.0.1 No license field.
247 verbose stack Error: heapdump@0.2.9 install: `node-gyp rebuild`
247 verbose stack Exit status 1
247 verbose stack     at EventEmitter.<anonymous> (/usr/lib/node_modules/npm/node_modules/npm-lifecycle/index.js:332:16)
247 verbose stack     at EventEmitter.emit (events.js:198:13)
247 verbose stack     at ChildProcess.<anonymous> (/usr/lib/node_modules/npm/node_modules/npm-lifecycle/lib/spawn.js:55:14)
247 verbose stack     at ChildProcess.emit (events.js:198:13)
247 verbose stack     at maybeClose (internal/child_process.js:982:16)
247 verbose stack     at Process.ChildProcess._handle.onexit (internal/child_process.js:259:5)
248 verbose pkgid heapdump@0.2.9
249 verbose cwd /home/attila/git/node-poker-stack/game-server
250 verbose Linux 4.15.0-88-generic
251 verbose argv "/usr/bin/node" "/usr/bin/npm" "install"
252 verbose node v10.19.0
253 verbose npm  v6.13.4
254 error code ELIFECYCLE
255 error errno 1
256 error heapdump@0.2.9 install: `node-gyp rebuild`
256 error Exit status 1
257 error Failed at the heapdump@0.2.9 install script.
257 error This is probably not a problem with npm. There is likely additional logging output above.
258 verbose exit [ 1, true ]
(END)