-
Notifications
You must be signed in to change notification settings - Fork 5.8k
New issue
Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? # to your account
npm install fails on FreeBSD 12.1 #1880
Comments
Is there more to the output? I think the cause of the error might be further up. I don't think the peer dependency warnings would cause the script to fail. |
Not that I could see but it was over tmux it's possible it's cutoff indeed, I was wondering if it was indeed related to dependencies missing. I also tried yarn after and it worked but then It keeps failing with connection issues. Im on mobile now but I'll check later if there's more output Thanks |
Please upload the debug log file |
It's likely you're just missing some dependencies. We have them listed here for Debian/Red Hat: https://github.com/cdr/code-server/blob/master/doc/npm.md |
This is a azure VM so python3 is installed (not 2 though not sure if that matters) but I do have:
|
Got it. Can't comment further without the full log file. |
Dang it I though I uploaded it in the previous post: 2020-07-14T12_30_33_064Z-debug.log That's the one from when I run it originally, sorry1 P.S. I also installed python2 and run: |
I tied with yarn and it just works:
|
Same error on freebsd. |
I went back to try this on a new VM and noticed trying to install the dep manually would fail:
complains that it can't build do to a grpc issue, however latest works just fine My best guess is this is related to grpc/grpc#15010 which was since fixed. Maybe we just need to bump google-cloud/logging version? |
The Google cloud logging library is an optional dependency for our
logger but we don't use it in code-server so it's not required. The peer
dependency warning can be safely ignored. :)
|
Hum but post install still failed right after that but that was the old log... I'm actually getting different results now, It did finish install (with the warning) but on running I get:
So looks like some deps are not being installed, but its at least not failing on postinstall |
ah nvm I'm not even sure how it supposedly finished installing, I wipped all modules and started fresh and noticed I was missing "pkgconf" In practice FreeBSD needs: (I use git-lite but ofc one can install But I missed pkgconf -.-' I wonder if we should have this as part of the install.sh if we detect FreeBSD ? |
I think that's a good idea.
|
- Removed electron from lib/vscode but kept the types. - electron doesn't support FreeBSD. - Added docs on dependencies of FreeBSD when installing via npm module. - For now, we're going to be shipping a dynamically linked version of node which may cause problems but we can fix that later. Updates #1826 Updates #1880 Updates #2320 Updates #2349
code-server --version
: n/aI can't seem to install due to missing deps its seems but I also found no clue how to install those:
The text was updated successfully, but these errors were encountered: