vercel / hyper

A terminal built on web technologies
https://hyper.is
MIT License
43.3k stars 3.52k forks source link

Hyper fails to install any plugins on Arch #3112

Open BlackHoleFox opened 6 years ago

BlackHoleFox commented 6 years ago

Issue

Whenever I try to install any plugin in Hyper, for example hyper i verminal, it errors out and opens another terminal for some reason, giving this error message (Using the AppImage):

[shadus@machine~]$ hyper i verminal
running in prod mode
electron will open file:///tmp/.mount_hyper-z5B0ZT/app/resources/app.asar/index.html
Setting Hyper as default client for ssh:// protocol
Failed to symlink Hyper CLI { Error: EACCES: permission denied, unlink '/usr/local/bin/hyper'
  errno: -13,
  code: 'EACCES',
  syscall: 'unlink',
  path: '/usr/local/bin/hyper' }Checking for notification messages
No matching notification messages

I saw a closed issue about this but it seems no solution was ever found for Linux users?

Thanks!

JoshuaRabiu commented 6 years ago

Looks like you're having a permissions error, so a temporary fix may be to run the command as sudo.

jcklpe commented 6 years ago

@BlackHoleFox Hey did you ever get a fix to this?

BlackHoleFox commented 6 years ago

I have not. Running it as sudo does no good. Currently just using the default KConsole still :/

jcklpe commented 6 years ago

Oooh, that's no good. I'm running Windows for my work computer and rely on Hyper for it. And I seem to have completely borked things up even worse trying to get Oh-my-zsh installed and stuff. yeesh.

Also kconsole so you're using KDE? I just started using Kubuntu! It's my first serious go at using Linux for home desktop stuff. Anyway, that's off topic, but KDE is really nice. Wish I could just go full time with it uuuugh.

BlackHoleFox commented 6 years ago

Yeah its slightly frustrating since they provide no other dist method for Linux officially then the AppImage

jcklpe commented 6 years ago

@BlackHoleFox So stripped out everything and tried to do a totally clean install of WSL bash, and zsh to see if I could figure out what was causing this problem with Hyper.

I think it's because I've symlinked the hyper files.

I use symlinks so I can collect all my config files together in a dropbox folder. I don't know exactly how AppImage works but I do believe it uses symlinks in some way to help fake the different distro environments.

I also believe I remember having some issues with permissions over symlinks when I was installing bash etc. though I don't know why that would be an issue since I'm installing hyper on my Windows machine, and only running bash from inside it so Hyper should have normal permissions to all my config files and symlinks etc.

Also I tried using hardlinks and those are basically seen as identical to the system as the file itself, from my understanding so... not sure

@JoshuaScript are you on the Zeit team? You got any thoughts on this?

Yash-Garg commented 6 years ago

Same issue here too

bigwhitetuna commented 5 years ago

I'm having the same issue as well, but with a slightly different output. Occurs any time I try to install a plugin, and opens a new terminal.

Linux Mint 18.3

Command: hyper i hyper-active-tab Output: Disabling CHromium GPU blacklist running in prod mode electron will open file://tmp/.mount_hyper_GLto67/app/resources/app.asar/index.html Setting Hyper as default client for ssh:// protocol Checking for notification messages No matching notification messages The output does not stop as a process, but opens a new terminal that starts at the home directory. Once that terminal is closed the process stops, plugin not install, and starts a new line.

aurerua commented 4 years ago

Similar problem to @hcallaway although the output is slightly different:

Disabling Chromium GPU blacklist
running in prod mode
electron will open file:///usr/lib/hyper/resources/app.asar/index.html
Checking for notification messages
No matching notification messages

I haven't found a solution yet, but adding the plugin manually to the plugins array in .hyper.js does work.

bet4it commented 4 years ago

Try yay -S hyper-git on Arch Linux

The-God-coder commented 3 years ago

I have the same problem is there a fix yet? Garuda Linux - based off Arch using the AUR package

BitBiro commented 1 year ago

Same issue here - i have Archlinux vanilla and installed from AUR via yay -S hyper-git.

Edit: i have installed hyper via yay-S hyper-bin. This did the trick. A short test by test installing a plugin with "hyper i hyperpower" in the terminal works.

With hyper installed via yay -S hyper-git i got a similar error like @bigwhitetuna.

I suppose the appimage has to be installed to get hyper working without any issues regaring plugin installs under archlinux.

Regards.