vercel / hyper

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

Error updating plugins #3595

Closed flostadler closed 5 years ago

flostadler commented 5 years ago

Issue

During updating the plugins I get following error message: grafik

pcnate commented 5 years ago

have you tried running hyper version? I had an issue (#3602) where the CLI was showing an old version while the running app shows 3.0.0

jarckn commented 5 years ago

have you tried running hyper version? I had an issue (#3602) where the CLI was showing an old version while the running app shows 3.0.0

I have the issue aswell and hyper version is showing the correct version: image

flostadler commented 5 years ago

hyper version is showing 3.0.0

pcnate commented 5 years ago

another suggestion is https://github.com/zeit/hyper/issues/3590#issuecomment-489672067

jarckn commented 5 years ago

hyper version is showing 3.0.0

Are you using Hyper behind a proxy? Not using a proxy fixed this for me.

flostadler commented 5 years ago

Nope, no proxy either

VincentLanglet commented 5 years ago

I have the issue aswell

OS version and name: Mojave 10.14.4 Hyper.app version: 3.0.2 Node version: 12.4.0 Npm version: 6.9.0 Yarn version: 1.16.0

bogdancss commented 5 years ago

same here MacOS Mojave Hyper 3.0.2 npm 6.9.2 node 12.4.0

gmcouto commented 5 years ago

same here Windows 10 Hyper 3.0.2 npm 6.1.0 node 10.6.0

vannaka commented 5 years ago

I'm having the same problem. Windows 10 Hyper 3.0.2 npm 6.9.0 node 10.16.0

zaneclaes commented 5 years ago

Same. I get the annoying pop-up many times per day for weeks now. OSX Mojave Hyper 3.0.2 npm 6.9.0 node 12.3.0

hu-chia commented 5 years ago

Same... OSX Mojave 10.14.5 Hyper 3.0.2 npm 6.9.0 node v12.6.0

zachbryant commented 5 years ago

Same. Ubuntu 18.04 Hyper 3.0.2 npm 6.9.0 node v12.6.0

briantanseng commented 5 years ago

Same. OSX Mojave 10.14.6 Hyper 3.0.2 npm 6.9.0 node v10.16.0

dylanbr0wn commented 5 years ago

..Same here OSX Mojave 10.14.6 Hyper 3.0.2 npm 6.10.2 node v12.9.1

samu commented 5 years ago

Please stop spamming this thread (it's annoying for people who have subscribed for meaningful updates). Use the 👍 emoji on the issue description.

alvitawa commented 5 years ago

You should run hyper from the command line and see if the full error pops up there since it seems that you can't see the full notification text on windows. For me it said node is not recognized as a command so I installed nodejs. The plugin I was trying to run still didn't work but maybe that was the plugin's fault.

vivekrp commented 5 years ago

Any fixes for this? I keep getting this error pop-up every time I open/re-open Hyper. Tried everything, removed all plugins, uninstalled Hyper and installed again, reinstalled node & npm. Still no luck.

Error updating plugins. [DEP0005] DeprecationWarning: Buffer() is deprecated due to security and usability issues. Please use the Buffer.alloc(), Buffer.allocUnsafe(), or Buffer.from() methods instead. Screenshot 2019-10-10 at 6 22 55 PM

Stanzilla commented 5 years ago

can you try a CI build from canary?

vivekrp commented 5 years ago

can you try a CI build from canary?

I am a bit confused, did you mean changing stable to the canary in .hyper.js and restarting? Tried that didn't work.

or

Cloning the new canary build from GitHub and running it locally?

Stanzilla commented 5 years ago

You're on macOS, right? Download the dmg from here then https://app.circleci.com/jobs/github/zeit/hyper/2433/artifacts

vivekrp commented 5 years ago

I uninstalled the previous version, deleted old .hyper.js file and installed the canary build from your dmg file. I don't see the "Error updating plugins" now when I start Hyper. But unable to install any plugins now, I tried hyper i plugin-name, tried adding manually to the new .hyper.js file but doesn't work. CleanShot 2019-10-11 at 03 05 02

Stanzilla commented 5 years ago

okay can you open (or search, I think there is an issue about that error already) an issue about that please.

IgorGanapolsky commented 5 years ago

What is the solution? I am getting the same warning pop up on Mac OS and Hyper 3.0.2...

vannaka commented 5 years ago

@IgorGanapolsky, did you try running the Hyper 3.1.0 canary build here? It should fix the "Error updating plugins problem" but leads to a new problem, Issue 3670 "Cannot read property 'properties' of undefined".

IgorGanapolsky commented 5 years ago

@vannaka 3.1.0 doesn't work at all. It is frozen and nothing's clickable:

Screen Shot 2019-10-15 at 12 33 14 PM
Stanzilla commented 5 years ago

turn of your plugins please

IgorGanapolsky commented 5 years ago

@Stanzilla how?

Stanzilla commented 5 years ago

open your config and delete the plugins names from the array

plugins: [],
IgorGanapolsky commented 5 years ago

@Stanzilla Which plugins are compatible?

Stanzilla commented 5 years ago

no idea, just try without any and see if the problem goes away

CanRau commented 5 years ago

3.1.0 canary1 works for me so far, I'm on macOS Mojave 10.14.6 and I've got hyperline & hyper-search plugins successfully running 👍

Ryan315 commented 5 years ago

hyperline will cause that warning.

IgorGanapolsky commented 5 years ago

@Ryan315. I disabled hyperline and still getting the warning...

kgleason commented 4 years ago

Sorry to resurrect a closed issue, but I have this exact issue in Windows 10 on Hyper 3.0.2. The link for the canary build 404s, and I don't really see any other proposed resolution.

IgorGanapolsky commented 4 years ago

Yeah this is still an issue in the latest Hyperterm, regardless of the plugins.

albertorb commented 4 years ago

In Mac OS I solved it by just installing npm with brew.

AndyEdwards22 commented 4 years ago

Just to confirm, I tried most of the solutions above - instaling both npm and hyper via brew did it for me too.

luixal commented 4 years ago

I'm still getting this issue on win10 and hyper 3.0.2 :(

faizalrf commented 4 years ago

Just to give you guys an update and hopefully, some of the folks here will find comfort in this crazy painful COVID-19 time :)

I have been getting the same problem, it all started when I copied someone's configuration to make my Hyper look cool and I ended up with this error, Hyper was not even opening. Uninstall/reinstall did not help.

Here is what worked for me on Windows 10:

  1. Uninstall Hyper
  2. Remove the following two folders, as these are not removed automatically.
    • C:\Users\<user>\AppData\Roaming\Hyper
    • C:\Users\<user>\AppData\Local\hyper
  3. Install the latest Hyper, for me it was hyper-Setup-3.0.2.exe

Note: remember to replace with your own Windows user :p

Send some prayers for the entire world if this worked for you :)

boriskamtou commented 4 years ago

Just to give you guys an update and hopefully, some of the folks here will find comfort in this crazy painful COVID-19 time :)

I have been getting the same problem, it all started when I copied someone's configuration to make my Hyper look cool and I ended up with this error, Hyper was not even opening. Uninstall/reinstall did not help.

Here is what worked for me on Windows 10:

  1. Uninstall Hyper
  2. Remove the following two folders, as these are not removed automatically.
  • C:\Users\<user>\AppData\Roaming\Hyper
  • C:\Users\<user>\AppData\Local\hyper
  1. Install the latest Hyper, for me it was hyper-Setup-3.0.2.exe

Note: remember to replace with your own Windows user :p

Send some prayers for the entire world if this worked for you :)

Works for me. Thx.

brcmesquita commented 4 years ago

I had the same problem here.

The problem is complicated to discover, but it is more than obvious.

We install "hyper" on Windows, via Windows, and then we want to install plugins etc via WSL (Bash Linux). It will not work!

To resolve, go back to the default configuration of Hyper (deleting ".hyper.js" for example) where it will open with the "cmd" Windows again. Install all the plugins you want (with "hyper install hypercwd" for example), and only after that, you change to WSL.

Applause! kkkkkkkkkkk

schulzf commented 3 years ago

I had this issue (twice - once for my mac mini m1 and once for my macbook air m1) For me it was a permissions problem. I noticed that because every time I had to do a npm install / yarn add I got EACCES permission denied, I had to sudo everything - turns out that this was also messing up the ability of hyper to install plugins as well.

try doing this:

chown -R yourusername /users/yourusername

that solved the above issues I was having on my m1 mac

davidrock commented 3 years ago

The solution for me was to clear the plugins list in the .hyper.js file and removing the packages inside the .hyper_plugins folder.

JigarJoshi04 commented 3 years ago

For me, the issue solved by removing the plugin "hyperline". I would suggest start removing one by one plugin and update. Some plugin is creating this issue.

skm7463 commented 3 years ago

Ah yes, I've tested so many plugins and most don't really work well when put under strain.

I'm actually developing my own plugin to do far more than anything I can find out there and to avoid the trap of having to have lots of small plugins to make to give features I need. I need UI enhancements and automation options.

The problem of using multiple plugins is also that few actually work together well.

The freeze that I reported is testable without any plugins (raw hyper). It seems at first that it might have been issue for you but glad you solve it.