Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Can't get node headers #3066

Open
white5354 opened this issue Aug 29, 2024 · 4 comments
Open

Can't get node headers #3066

white5354 opened this issue Aug 29, 2024 · 4 comments

Comments

@white5354
Copy link

white5354 commented Aug 29, 2024

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?

@Devendra8
Copy link

Facing same issue, did you get any solution?

@StefanStojanovic
Copy link
Contributor

Hello, does this happen every time, or just on some occasions? Without any additional information, it seems like a network issue to me.

@yzqdev
Copy link

yzqdev commented Sep 14, 2024

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.

@StefanStojanovic
Copy link
Contributor

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.

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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

5 participants