Skip to content

[Bug]: (install.sh) Cannot install preferred version via yarn #4832

Closed
@jvadair

Description

@jvadair

Is there an existing issue for this?

  • I have searched the existing issues

OS/Web Information

  • Web Browser: Firefox
  • Local OS: Kubuntu
  • Remote OS: Raspberry Pi OS
  • Remote Architecture: armv7l
  • code-server --version: (not applicable)

Steps to Reproduce

  1. download the install.sh script
  2. sh install.sh --version 3.11.1

Expected

Version 3.11.1 should be installed

Actual

The latest version is installed

Logs

yarn global add [email protected] does not result in any errors.
When installed via this method, the correct version is installed.

Screenshot/Video

Screenshot_20220205_125447
Screenshot_20220205_125518
Screenshot_20220205_120935

Does this issue happen in VS Code?

  • I cannot reproduce this in VS Code.

Are you accessing code-server over HTTPS?

  • I am using HTTPS.

Notes

I am installing this version because I believe it is the version I had before upgrading. The latest version does not work for me, since it throws this error every time I open it:

"The workbench failed to connect to the server (Error: WebSocket close with status code 1006)"

I know that #4443 addresses this issue, but the solutions provided are only for nginx, and I use Apache.

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Type

    No type

    Projects

    No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions