Skip to content

npm-postinstall.sh script is broken on FreeBSD #2229

Closed
@zjijz

Description

@zjijz
  • Web Browser: n/a
  • Local OS: MacOS
  • Remote OS: FreeBSD
  • Remote Architecture: amd64 / x86_64
  • code-server --version: 3.6.0, 3.6.1

Install succeeded on 3.5.0.
NPM log for 3.6.0 (npm install -g code-server@3.6.0): code_server_3_6_0.log
NPM log for 3.6.1 (npm install -g code-server): code_server_3_6_1.log

The issue has to due with a recent addition (12 days ago) that always tries to download an OS-specific cloud-agent from Google Cloud: https://github.com/cdr/code-server/blob/62735da69466a444561ab9b1115dc7c4d496d455/ci/build/npm-postinstall.sh#L28

This fails with a 404 error for FreeBSD. v3.5.0 was before this addition and I did verify it works.

I think this is unrelated to #1880.

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't workingos-freebsdFreeBSD related

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions