Skip to content

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

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Closed
3 tasks done
unknowndevQwQ opened this issue Sep 27, 2022 · 2 comments · Fixed by #5595
Closed
3 tasks done

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

unknowndevQwQ opened this issue Sep 27, 2022 · 2 comments · Fixed by #5595
Labels
bug Something isn't working triage This issue needs to be triaged by a maintainer
Milestone

Comments

@unknowndevQwQ
Copy link
Contributor

unknowndevQwQ commented Sep 27, 2022

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

@unknowndevQwQ unknowndevQwQ added bug Something isn't working triage This issue needs to be triaged by a maintainer labels Sep 27, 2022
@unknowndevQwQ
Copy link
Contributor Author

At the same time, I noticed that install.sh does not try the doas command, which is a sudo-like command

@jsjoeio
Copy link
Contributor

jsjoeio commented Sep 28, 2022

@code-asher - figured you might be better to answer this.

@jsjoeio jsjoeio added this to the September 2022 milestone Sep 28, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working triage This issue needs to be triaged by a maintainer
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants