Can't get node headers
when i run node-gyp configure, appears below
PS F:\projects\theialearn\theia> node-gyp configure
gyp info it worked if it ends with ok
gyp info using [email protected]
gyp info using [email protected] | win32 | x64
gyp info find Python using Python version 3.12.5 found at "C:\Users\Administrator\AppData\Local\Programs\Python\Python312\python.exe"
gyp http GET https://nodejs.org/download/release/v20.8.1/node-v20.8.1-headers.tar.gz
not get headers, what can I do?
Facing same issue, did you get any solution?
Hello, does this happen every time, or just on some occasions? Without any additional information, it seems like a network issue to me.
Hello, does this happen every time, or just on some occasions? Without any additional information, it seems like a network issue to me.
Thank you yes, there is a network issue in China.
one solution is to download node-v20.8.1-headers.tar.gz file to our local compute by hand instead of using gyp http get and then move it to the right place, but we don' know where we should put this node-v20.8.1-headers.tar.gz file.
one solution is to download
node-v20.8.1-headers.tar.gzfile to our local compute by hand instead of usinggyp http getand then move it to the right place, but we don' know where we should put thisnode-v20.8.1-headers.tar.gzfile.
You can check which options node-gyp exposes. as far as I recall --tarball=PATH_TO_TARBALL should be the option you're looking for, but I haven't used it in a while.
I'm closing this issue since it has been stale for some time after I suggested the workaround. If needed, please reopen it, or open a new issue.