Skip to content

[Bug]: install.sh does not work as expected on freebsd #5594

Closed
@unknowndevQwQ

Description

@unknowndevQwQ

Is there an existing issue for this?

  • I have searched the existing issues

OS/Web Information

  • Web Browser: N/A
  • Local OS: N/A
  • Remote OS: freebsd
  • Remote Architecture: x86_64
  • code-server --version: Not yet installed

Steps to Reproduce

  1. Run install.sh as a normal user

Expected

It should be installed successfully or something

Actual

$ ./install.sh 
FreeBSD 13.1-RELEASE-p2
Installing latest from npm.

./install.sh: NPM_PATH: not found
Installing with npm.

+ su - -c 'npm install -g code-server --unsafe-perm'
Password:
su: only root may use -c

Logs

No response

Screenshot/Video

No response

Does this issue happen in VS Code or GitHub Codespaces?

  • I cannot reproduce this in VS Code.
  • I cannot reproduce this in GitHub Codespaces.

Notes

No response

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't workingtriageThis issue needs to be triaged by a maintainer

    Type

    No type

    Projects

    No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions