Skip to content

FreeBSD 11.3-RELEASE-p14 install script throws errors #2349

Closed
@irgipaulius

Description

@irgipaulius
  • Web Browser: not applicable
  • Local OS: not applicable
  • Remote OS: FreeBSD 11.3-RELEASE-p14. (a jail inside a FreeNas server)
  • Remote Architecture: x86
  • code-server --version: 3.7.2 a0db672

Problem with: installation script


## How to replicate
  1. create a new jail in FreeNas. SSH into it with sudo permissions
  2. pkg upgrade
  3. curl -fsSL https://code-server.dev/install.sh | sh -s -- --dry-run
    3.1. it finishes successfully, everything seems fine
  4. curl -fsSL https://code-server.dev/install.sh | sh
    4.1 installs code-server successfully
    4.2 but it spews discouraging errors
    4.3 and does not print out info on how to run and start using code-server after it's finished, like it's supposed to do according to the documentation.

Logs go into what seems like an endless loop of these 12 error lines over and over again:

Done in 0.07s.
extensions/xml: installing dependencies
yarn install v1.22.10
warning ../package.json: No license field
info No lockfile found.
[1/5] Validating package.json...
warning xml@1.0.0: The engine "vscode" appears to be invalid.
[2/5] Resolving packages...
[3/5] Fetching packages...
[4/5] Linking dependencies...
[5/5] Building fresh packages...
Done in 0.07s.

And upon scrolling a bit higher, you can see this error:

image


Consequences

It does not influence my accessibility to the product, but it did influence the experience of the installation process. I panicked that something is wrong with my system and I started debugging until 20 minutes later I had an idea to run code-server --version and it proved that it installed successfully. Wasted time I'm not getting back.

Metadata

Metadata

Assignees

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