Node.js v8-profiler module won't install on Node v8.1.0 on OSX -
i ran yarn add v8-profiler
command in osx terminal. error. says file node-v57-darwin-x64.tar.gz not available tries build node-gyp. there problem node-gyp in local machine. (i can't download xcode because internal wireless adapter on macbook doesn't work). can solve problem?
output: node-pre-gyp info worked if ends ok node-pre-gyp info using node-pre-gyp@0.6.34 node-pre-gyp info using node@8.1.0 | darwin | x64 node-pre-gyp info check checked "/node_projects/project/node_modules/v8-profiler/build/profiler/v5.7.0/node-v57-darwin-x64/profiler.node" (not found) node-pre-gyp http https://node-inspector.s3.amazonaws.com/profiler/v5.7.0/node-v57-darwin-x64.tar.gz node-pre-gyp http 404 https://node-inspector.s3.amazonaws.com/profiler/v5.7.0/node-v57-darwin-x64.tar.gz node-pre-gyp err! tried download(404): https://node-inspector.s3.amazonaws.com/profiler/v5.7.0/node-v57-darwin-x64.tar.gz node-pre-gyp err! pre-built binaries not found v8-profiler@5.7.0 , node@8.1.0 (node-v57 abi) (falling source compile node-gyp) node-pre-gyp http 404 status code downloading tarball https://node-inspector.s3.amazonaws.com/profiler/v5.7.0/node-v57-darwin-x64.tar.gz node-pre-gyp err! build error node-pre-gyp err! stack error: failed execute 'node-gyp clean' (error: spawn node-gyp enoent) node-pre-gyp err! stack @ childprocess.<anonymous> (/node_projects/project/node_modules/node-pre-gyp/lib/util/compile.js:77:29) node-pre-gyp err! stack @ emitone (events.js:115:13) node-pre-gyp err! stack @ childprocess.emit (events.js:210:7) node-pre-gyp err! stack @ process.childprocess._handle.onexit (internal/child_process.js:195:12) node-pre-gyp err! stack @ onerrornt (internal/child_process.js:366:16) node-pre-gyp err! stack @ _combinedtickcallback (internal/process/next_tick.js:102:11) node-pre-gyp err! stack @ process._tickcallback (internal/process/next_tick.js:161:9) node-pre-gyp err! system darwin 14.5.0 node-pre-gyp err! command "/usr/local/cellar/node/8.1.0_1/bin/node" "/node_projects/project/node_modules/v8-profiler/node_modules/.bin/node-pre-gyp" "install" "--fallback-to-build" node-pre-gyp err! cwd /node_projects/project/node_modules/v8-profiler node-pre-gyp err! node -v v8.1.0 node-pre-gyp err! node-pre-gyp -v v0.6.34 node-pre-gyp err! not ok failed execute 'node-gyp clean' (error: spawn node-gyp enoent)
Comments
Post a Comment