Based from the error, it seems that https://storage.googleapis.com/cloud-profiler/pprof-nodejs/release/v4.0.0/node-v108-win32-x64-unknown.tar.gz doesn’t exist. I went to https://storage.googleapis.com/cloud-profiler/ to check which binaries are available and searched for keywords like ‘win32’ and ‘node-v108’, but all I found were binaries for Linux environments.
Since no pre-built binaries were found, node-pre-gyp
will attempt to compile the package from source using node-gyp
, used to build binaries. However, this could fail if you don’t have the necessary build tools set up on your machine. For information about the dependencies required to build binaries with node-gyp
, see node-gyp's installation documentation.
You may also check this documentation from Google Cloud about profiling Node.js applications, which might help you.