-
Notifications
You must be signed in to change notification settings - Fork 5.7k
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
Unable to install on FreeBSD 13.2 #6842
Comments
I can see something similar with 4.90.2 build on the homebrew side
|
@jpcastberg Delete your The error is caused by |
@benz0li Thanks for the direction - no dice though :( I don't see any issues in node-pty, open or closed that seem to relate to what I'm seeing. Though - I do see that I have the termios header file on the machine:
I have pretty limited knowledge of c, but it seems like it's not looking in the right place for my header files when node-pty's gyp script runs. Am going to attempt debugging this tonight... |
Well - the good news is that for node-pty, all I needed to do was import the header file in the right block. I opened a pull request over there to fix that microsoft/node-pty#688 . Unfortunately, I've hit another node-gyp built addon in vscode that isn't playing nice with Freebsd - Kerberos:
This Kerberos project, another vscode dependency, makes no mention of FreeBSD support - I take it that in order to run code-server, I'll need to make all of vscode's dependencies build nicely? Again, thank ya'll for your help :) |
The The only issue I could see is that if the problem building If the former, this would be an annoying workaround, but one could download the tarball, remove But maybe there is a more clever way of omitting a dependency from the user side. IMO it should be made an optional dependency; maybe that is something we should patch, or maybe they would accept it upstream. |
I got it mostly working, though terminal and workspace search in files seem to be broken. Here are the steps: run:
Then modify the following code in the kerberos directory to match the below (From: #6499 (comment)): kerberos/binding.gyp:
kerberos/src/kerberos_common.h:
then:
then:
this will create a directory called
and change the lines for kerberos and node-pty and point them to the directories of the repos you downloaded:
then:
This should give you the
It'll print the location of a file where you can get your password. Hope this helps someone! |
Nice! The terminal relies on Workspace search depends on the |
I am tentatively closing this since there is nothing we can change on the code-server side, if I understand correctly? Happy to reopen if there is something we need to change though. |
Is there an existing issue for this?
OS/Web Information
code-server --version
: 4.90.2 via npmSteps to Reproduce
Expected
code-server should install successfully
Actual
errors are generated during the install process, installation fails.
Logs
Screenshot/Video
No response
Does this bug reproduce in native VS Code?
This cannot be tested in native VS Code
Does this bug reproduce in GitHub Codespaces?
This cannot be tested in GitHub Codespaces
Are you accessing code-server over a secure context?
Notes
Thank you in advance for the help - I am very excited to use code-server for work as it now supports node 20, which we have on our remote machines. Happy to do as much troubleshooting as needed.
The text was updated successfully, but these errors were encountered: