Skip to content

Can't install code-server 3.12.1 #4618

Closed

Description

@amiria703

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

Activity

  1. jsjoeio commented on Dec 14, 2021

    @jsjoeio
    Contributor

    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

  2. amiria703 commented on Dec 14, 2021

    @amiria703
    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)?

  3. jsjoeio commented on Dec 14, 2021

    @jsjoeio
    Contributor

    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!

  4. amiria703 commented on Dec 15, 2021

    @amiria703
    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

  5. jsjoeio commented on Dec 15, 2021

    @jsjoeio
    Contributor

    @amiria703 shoot :(

    Can you try this approach?

  6. amiria703 commented on Dec 16, 2021

    @amiria703
    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

  7. jsjoeio commented on Dec 16, 2021

    @jsjoeio
    Contributor

    Hooray! thanks for sharing!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions