Skip to content

Instantly share code, notes, and snippets.

@tboydar
Created September 6, 2021 06:52
Show Gist options
  • Save tboydar/241c38610f80dea09cab6f215ca988f7 to your computer and use it in GitHub Desktop.
Save tboydar/241c38610f80dea09cab6f215ca988f7 to your computer and use it in GitHub Desktop.
node-pre-gyp WARN Using request for node-pre-gyp https download
node-pre-gyp WARN Tried to download(404): https://storage.googleapis.com/cloud-profiler/pprof-nodejs/release/v1.2.0/node-v72-win32-x64-unknown.tar.gz
node-pre-gyp WARN Pre-built binaries not found for pprof@1.2.0 and node@12.22.5 (node-v72 ABI, unknown) (falling back to source compile with node-gyp)
在此解決方案中一次建置一個專案。若要啟用平行建置,請新增 "/m" 參數。
profiler.cc
win_delay_load_hook.cc
c:\users\eugene\appdata\local\node-gyp\cache\12.22.5\include\node\node.h(655): warning C4819: 檔案含有無法在目前字碼頁 (950) 中表示的字元。請以 Unicode 格式儲存檔案以防止資料遺失 (正在編譯原始程式檔 ..\bindings\profiler.cc) [F:\ST
\social_be\node_modules\pprof\build\pprof.
vcxproj]
f:\st\social_be\node_modules\pprof\bindings\profiler.cc(140): error C2131: 運算式未評估為常數 [F:\ST\social_be\node_modules\pprof\build\pprof.vcxproj]
f:\st\social_be\node_modules\pprof\bindings\profiler.cc(140): note: 失敗原因為讀取超出存留期的變數
f:\st\social_be\node_modules\pprof\bindings\profiler.cc(140): note: 請參閱 'hitLineCount' 的用法
f:\st\social_be\node_modules\pprof\bindings\profiler.cc(148): error C2065: 'entry': 未宣告的識別項 [F:\ST\social_be\node_modules\pprof\build\pprof.vcxproj]
f:\st\social_be\node_modules\pprof\bindings\profiler.cc(149): error C2065: 'entry': 未宣告的識別項 [F:\ST\social_be\node_modules\pprof\build\pprof.vcxproj]
f:\st\social_be\node_modules\pprof\bindings\profiler.cc(145): error C2660: 'CreateTimeNode': 函式不使用 5 引數 [F:\ST\social_be\node_modules\pprof\build\pprof.vcxproj]
f:\st\social_be\node_modules\pprof\bindings\profiler.cc(108): note: 請參閱 'CreateTimeNode' 的宣告
f:\st\social_be\node_modules\pprof\bindings\profiler.cc(144): error C2661: 'Nan::Set': 多載函式不使用 2 引數 [F:\ST\social_be\node_modules\pprof\build\pprof.vcxproj]
f:\st\social_be\node_modules\pprof\bindings\profiler.cc(189): error C2131: 運算式未評估為常數 [F:\ST\social_be\node_modules\pprof\build\pprof.vcxproj]
f:\st\social_be\node_modules\pprof\bindings\profiler.cc(189): note: 失敗原因為讀取超出存留期的變數
f:\st\social_be\node_modules\pprof\bindings\profiler.cc(189): note: 請參閱 'count' 的用法
f:\st\social_be\node_modules\pprof\bindings\profiler.cc(194): error C3863: 無法指派陣列類型 'v8::Local<v8::Array> [count]' [F:\ST\social_be\node_modules\pprof\build\pprof.vcxproj]
gyp ERR! build error
gyp ERR! stack Error: `C:\Program Files (x86)\Microsoft Visual Studio\2017\BuildTools\MSBuild\15.0\Bin\MSBuild.exe` failed with exit code: 1
gyp ERR! stack at ChildProcess.onExit (C:\Users\eugene\AppData\Roaming\nvm\v12.22.5\node_modules\npm\node_modules\node-gyp\lib\build.js:194:23)
gyp ERR! stack at ChildProcess.emit (events.js:314:20)
gyp ERR! stack at Process.ChildProcess._handle.onexit (internal/child_process.js:276:12)
gyp ERR! System Windows_NT 10.0.19042
gyp ERR! command "f:\\Program Files\\nodejs\\node.exe" "C:\\Users\\eugene\\AppData\\Roaming\\nvm\\v12.22.5\\node_modules\\npm\\node_modules\\node-gyp\\bin\\node-gyp.js" "build" "--fallback-to-build" "--module=F:\\ST\\social_be\\node_modules\\pprof\\build\\node-v72-win32-x64-unknown\\pprof.node" "--module_name=pprof" "--module_path=F:\\ST\\social_be\\node_modules\\pprof\\build\\node-v72-win32-x64-unknown" "--napi_version=8" "--node_abi_napi=napi" "--napi_build_version=0" "--node_napi_label=node-v72"
gyp ERR! cwd F:\ST\social_be\node_modules\pprof
gyp ERR! node -v v12.22.5
gyp ERR! node-gyp -v v5.1.0
gyp ERR! not ok
node-pre-gyp ERR! build error
node-pre-gyp ERR! stack Error: Failed to execute 'f:\Program Files\nodejs\node.exe C:\Users\eugene\AppData\Roaming\nvm\v12.22.5\node_modules\npm\node_modules\node-gyp\bin\node-gyp.js build --fallback-to-build --module=F:\ST\social_be\node_modules\pprof\build\node-v72-win32-x64-unknown\pprof.node --module_name=pprof --module_path=F:\ST\social_be\node_modules\pprof\build\node-v72-win32-x64-unknown --napi_version=8 --node_abi_napi=napi --napi_build_version=0 --node_napi_label=node-v72' (1)
node-pre-gyp ERR! stack at ChildProcess.<anonymous> (F:\ST\social_be\node_modules\node-pre-gyp\lib\util\compile.js:83:29)
node-pre-gyp ERR! stack at ChildProcess.emit (events.js:314:20)
node-pre-gyp ERR! stack at maybeClose (internal/child_process.js:1022:16)
node-pre-gyp ERR! stack at Process.ChildProcess._handle.onexit (internal/child_process.js:287:5)
node-pre-gyp ERR! System Windows_NT 10.0.19042
node-pre-gyp ERR! command "f:\\Program Files\\nodejs\\node.exe" "F:\\ST\\social_be\\node_modules\\node-pre-gyp\\bin\\node-pre-gyp" "install" "--fallback-to-build"
node-pre-gyp ERR! cwd F:\ST\social_be\node_modules\pprof
node-pre-gyp ERR! node -v v12.22.5
node-pre-gyp ERR! node-pre-gyp -v v0.13.0
node-pre-gyp ERR! not ok
Failed to execute 'f:\Program Files\nodejs\node.exe C:\Users\eugene\AppData\Roaming\nvm\v12.22.5\node_modules\npm\node_modules\node-gyp\bin\node-gyp.js build --fallback-to-build --module=F:\ST\social_be\node_modules\pprof\build\node-v72-win32-x64-unknown\pprof.node --module_name=pprof --module_path=F:\ST\social_be\node_modules\pprof\build\node-v72-win32-x64-unknown --napi_version=8 --node_abi_napi=napi --napi_build_version=0 --node_napi_label=node-v72' (1)npm WARN social_be@2.12.22-r2 No repository field.
npm WARN optional SKIPPING OPTIONAL DEPENDENCY: fsevents@2.3.2 (node_modules\fsevents):
npm WARN notsup SKIPPING OPTIONAL DEPENDENCY: Unsupported platform for fsevents@2.3.2: wanted {"os":"darwin","arch":"any"} (current: {"os":"win32","arch":"x64"})
npm ERR! code ELIFECYCLE
npm ERR! errno 1
npm ERR! pprof@1.2.0 install: `node-pre-gyp install --fallback-to-build`
npm ERR! Exit status 1
npm ERR!
npm ERR! Failed at the pprof@1.2.0 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:
npm ERR! f:\npm\npm-cache\_logs\2021-09-06T06_50_37_670Z-debug.log
F:\ST\social_be (feat/hotCommandCode_202108 -> origin) (social_be@2.12.22r2)
λ
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment