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

HTTPError: Response code 404 when build for vscode-linux-x64-min-ci #2028

Open
2 tasks
xiaochao00 opened this issue Sep 12, 2024 · 4 comments
Open
2 tasks
Labels
bug Something isn't working

Comments

@xiaochao00
Copy link

Describe the bug
Downloading electron: [====================================================================================================] 100% ETA: 0.0 seconds
[23:51:51] 'vscode-linux-x64-min-ci' errored after 12 s
[23:51:51] HTTPError: Response code 404 (Not Found)
at Request._onResponseBase (/root/vscodium/vscode/node_modules/got/dist/source/core/index.js:913:31)
at Request._onResponse (/root/vscodium/vscode/node_modules/got/dist/source/core/index.js:948:24)
at ClientRequest. (/root/vscodium/vscode/node_modules/got/dist/source/core/index.js:962:23)
at Object.onceWrapper (node:events:632:26)
at ClientRequest.emit (node:events:529:35)
at ClientRequest.emit (node:domain:552:15)
at origin.emit (/root/vscodium/vscode/node_modules/@szmarczak/http-timer/dist/source/index.js:43:20)
at HTTPParser.parserOnIncomingClient (node:_http_client:700:27)
at HTTPParser.parserOnHeadersComplete (node:_http_common:119:17)
at TLSSocket.socketOnData (node:_http_client:541:22)
error Command failed with exit code 1.
info Visit https://yarnpkg.com/en/docs/cli/run for documentation about this command.

Please confirm that this problem is VSCodium-specific

  • This bug doesn't happen if I use Microsoft's Visual Studio Code. It only happens in VSCodium.

Please confirm that the issue/resolution isn't already documented

To Reproduce
Steps to reproduce the behavior:

  1. ./build/build.sh

Expected behavior
A clear and concise description of what you expected to happen.

Screenshots
If applicable, add screenshots to help explain your problem.

Desktop (please complete the following information):

  • OS: ubuntu20.04

Additional context
Add any other context about the problem here.

@xiaochao00 xiaochao00 added the bug Something isn't working label Sep 12, 2024
@mcochranca
Copy link

First, thanks as an amateur I’ll just ask some surface troubleshooting questions to see if this may be addressed through configuration or network error.

  1. Make sure that VSCodium is using up-to-date versions of Electron, got, and other dependencies. Run yarn upgrade or check for specific version requirements in the package.json or any lock files.
  2. VSCodium might be trying to download a resource from a location that has changed or been removed.
  3. If the build script relies on a specific version of a package, and that version is no longer available or has been moved, this could cause a 404 error.

If you identify an outdated or incorrect URL in the build script or configuration, updating it to the correct one should resolve the issue. Checking for updates to the VSCodium build process may already include a fix for this error though

																																	— `  Good Luck`

@daiyam
Copy link
Member

daiyam commented Sep 15, 2024

@mcochranca, I'm not sure where you got the issues but I never have those.

@xiaochao00, are you in China?

@xiaochao00
Copy link
Author

yes I am in China

@daiyam
Copy link
Member

daiyam commented Sep 15, 2024

yes I am in China

I believe this why you are getting so much network error. You might need to reconfigure npm to use cnpm or taobao npm... I'm not sure.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

3 participants