node-inspector / v8-profiler

node bindings for the v8 profiler
BSD 2-Clause "Simplified" License
1.13k stars 134 forks source link

Doesn't work with clang++ #130

Open zaoqi opened 5 years ago

zaoqi commented 5 years ago

https://gitlab.com/the-language/the-language/-/jobs/269946303

make[1]: Entering directory '/builds/the-language/the-language/core/pure/ecmascript/node_modules/v8-profiler-node8/build'
  CXX(target) Release/obj.target/profiler/src/profiler.o
make[1]: g++: Command not found
make[1]: *** [profiler.target.mk:109: Release/obj.target/profiler/src/profiler.o] Error 127
make[1]: Leaving directory '/builds/the-language/the-language/core/pure/ecmascript/node_modules/v8-profiler-node8/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:198:13)
gyp ERR! stack     at Process.ChildProcess._handle.onexit (internal/child_process.js:248:12)
gyp ERR! System Linux 4.19.23-coreos-r1
gyp ERR! command \"/usr/bin/node\" \"/usr/lib/node_modules/npm/node_modules/node-gyp/bin/node-gyp.js\" \"build\" \"--fallback-to-build\" \"--module=/builds/the-language/the-language/core/pure/ecmascript/node_modules/v8-profiler-node8/build/profiler/v6.1.1/node-v64-linux-x64/profiler.node\" \"--module_name=profiler\" \"--module_path=/builds/the-language/the-language/core/pure/ecmascript/node_modules/v8-profiler-node8/build/profiler/v6.1.1/node-v64-linux-x64\" \"--napi_version=4\" \"--node_abi_napi=napi\" \"--napi_build_version=0\" \"--node_napi_label=node-v64\"
gyp ERR! cwd /builds/the-language/the-language/core/pure/ecmascript/node_modules/v8-profiler-node8