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

Failing to install Node #779

Closed
jesuzon opened this issue Nov 1, 2023 · 5 comments
Closed

Failing to install Node #779

jesuzon opened this issue Nov 1, 2023 · 5 comments

Comments

@jesuzon
Copy link

jesuzon commented Nov 1, 2023

I've encountered a bit of a strange issue with the code-server-nodejs docker mod.

Initially things ran smoothly, but whilst trying to troubleshoot some issues with my environment (and restarting the code-server container a few times) I noticed that npm was no longer available in my code-server terminal.
I tried changing the node version and once again things ran smoothly, but it seems that after a few container restarts, this version stopped working too.

From the logs I can see the following:
The following NEW packages will be installed: libpython3.10-minimal nodejs python3-minimal python3.10-minimal yarn 0 upgraded, 5 newly installed, 0 to remove and 6 not upgraded. Need to get 34.3 MB of archives. After this operation, 210 MB of additional disk space will be used. Get:1 https://dl.yarnpkg.com/debian stable/main amd64 yarn all 1.22.19-1 [893 kB] Err:2 https://deb.nodesource.com/node_20.x jammy/main amd64 nodejs amd64 20.5.1-deb-1nodesource1 404 Not Found [IP: 172.67.10.205 443] Get:3 http://archive.ubuntu.com/ubuntu jammy-updates/main amd64 libpython3.10-minimal amd64 3.10.12-1~22.04.2 [811 kB] Get:4 http://archive.ubuntu.com/ubuntu jammy-updates/main amd64 python3.10-minimal amd64 3.10.12-1~22.04.2 [2,258 kB] Get:5 http://archive.ubuntu.com/ubuntu jammy-updates/main amd64 python3-minimal amd64 3.10.6-1~22.04 [24.3 kB] E: Failed to fetch https://deb.nodesource.com/node_20.x/pool/main/n/nodejs/nodejs_20.5.1-deb-1nodesource1_amd64.deb 404 Not Found [IP: 172.67.10.205 443] E: Unable to fetch some archives, maybe run apt-get update or try with --fix-missing?

Changing the node version to 18 worked for a bit as I mentioned, but now that one gives a similar error.

I thought maybe my IP was banned/flagged for some reason after restarting the container a few times (even though that doesn't make much sense), so I tried to run behind a VPN which made no difference (unless VPN IPs are flagged as well)...

Any ideas here?

@webysther
Copy link

Same.

@webysther
Copy link

A workaround, remove this mod and use this guide: https://deb.nodesource.com/node_20.x/pool/main/n/nodejs/nodejs_20.5.1-deb-1

@thespad
Copy link
Member

thespad commented Nov 1, 2023

They've killed off their old repos and moved to a new structure, which broke the mod. I've opened a PR to fix it.

@LinuxServer-CI
Copy link

This issue has been automatically marked as stale because it has not had recent activity. This might be due to missing feedback from OP. It will be closed if no further activity occurs. Thank you for your contributions.

Copy link

This issue is locked due to inactivity

@github-actions github-actions bot locked as resolved and limited conversation to collaborators Dec 31, 2023
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
Archived in project
Development

No branches or pull requests

4 participants