Skip to content

Can't install code-server 3.12.1 #4618

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

Closed
amiria703 opened this issue Dec 14, 2021 · 7 comments
Closed

Can't install code-server 3.12.1 #4618

amiria703 opened this issue Dec 14, 2021 · 7 comments

Comments

@amiria703
Copy link

I have problem with node version which is solved in 3.12.1 but whenever I'm trying to install it using yarn or npm I get the error that this version does not exist:
Screenshot_20211214-180045_Termux

Originally posted by @amiria703 in #4617

@jsjoeio
Copy link
Contributor

jsjoeio commented Dec 14, 2021

That's expected - if you see in your screenshot, it prints a list of the available versions. There is no 3.12.1. You probably want to install 3.12.0 then.

I'm going to close this but feel free to reply if you're confused or need more help

@jsjoeio jsjoeio closed this as completed Dec 14, 2021
@amiria703
Copy link
Author

@jsjoeio
Thanks for your reply
I have some problems with #4230
It fixed my problem and I checked it should be in the 3.12.1 version
Anyway, I can't install versions in the npm and yarn because of nodejs version
Is there anyway to build and run the code-server from main branch (source in GitHub)?

@jsjoeio
Copy link
Contributor

jsjoeio commented Dec 14, 2021

I checked it should be in the 3.12.1 version

Sorry, we changed some things and never released 3.12.1. But we're releasing 4.0.0 very soon.

Is there anyway to build and run the code-server from main branch (source in GitHub)?

You could, but it might be easier to download a release from the releases page under Assets here. Follow the docs here. Let me know if that works!

@amiria703
Copy link
Author

:(
Sadly, Based on this link:
https://wiki.termux.com/wiki/Differences_from_Linux#Termux_uses_Bionic_libc
I can't run any pre-compiled binaries
Only I can install ones with configs and patches for termux
Even I tried to run node v14 using tarball with no results
Sadly, It looks like I can't have code-server in my Android device for now

@jsjoeio
Copy link
Contributor

jsjoeio commented Dec 15, 2021

@amiria703 shoot :(

Can you try this approach?

@amiria703
Copy link
Author

@jsjoeio
Solved!
Using this command to install it:
apt update && apt upgrade && apt install python binutils && env FORCE_NODE_VERSION=16 yarn global add code-server --ignore-engines

@jsjoeio
Copy link
Contributor

jsjoeio commented Dec 16, 2021

Hooray! thanks for sharing!

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

2 participants