vercel / hyper

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

Error updating plugins. env: node: No such file or directory #5590

Open SyntaxSnack opened 3 years ago

SyntaxSnack commented 3 years ago

Issue

I am using Node and NPM with n. I do not wish to use the Homebrew npm, although I do have node also installed with Homebrew just to have checked if that fixes it - and it doesn't. I downloaded Hyper off of Github. This has been an issue for me ever since I started using Hyper, even after reinstalling OS X. Not sure what it is. Possibly I can somehow set the environment variable in the config to my node (in /usr/local/bin), although there is no documentation as to how. I have no plugins installed, but when I did, I had the same issue. I attempted to remove all pre-existing Hyper files and to reinstall with both the Canary and Stable release versions, neither of which fixed the issue. Hyper updates themselves are working, but I am unable to install plugins :(

My Node installation is a system node, although I also tried with the Homebrew node.

SyntaxSnack commented 3 years ago

Update: I was able to install plugins with hyper i by using this fix: https://github.com/vercel/hyper/issues/3500#issuecomment-467478327

However, I still get the "Error updating plugins. env: node: No such file or directory" error notification when attempting to update.

SyntaxSnack commented 3 years ago

Update: I installed Hyper with Homebrew and while I don't get the notification warning, I must still cd to the '~/.hyper_plugins' directory to run npm install for the plugins to work. The update plugins feature in the Hyper menu still does not work.

Thankfully, I am still able to update Hyper to canary by modifying the configuration, even though 3.0.2 was installed with Homebrew. I really hope you devs get the certificate for updates soon so we can have all the needed fixes, because this is a great terminal :) Let us know if we can help or fund you in any way! What about setting up a Patreon or a GoFundMe campaign?