hyper icon indicating copy to clipboard operation
hyper copied to clipboard

Error updating plugins

Open silvenon opened this issue 10 years ago • 94 comments

Each time I start HyperTerm or try to update plugins, I get this notification:

Error updating plugins
Check `~/.hyperterm_plugins/npm-debug.log` for more information.

My plugin works, but this error keeps coming up. Not sure how to start debugging because the said npm-debug.log doesn't exist. I tried reinstalling HyperTerm but still the same problem.

silvenon avatar Jul 20 '16 15:07 silvenon

I have the same issue.

james-see avatar Jul 22 '16 13:07 james-see

I have the same issue except my plugins don't work. Is there anything I can do to provide more information since the npm-debug.log file doesn't exist?

jcurtis avatar Jul 23 '16 14:07 jcurtis

I was able to fix and update the plugins by doing cd ~/.hyperterm-plugins && npm i but I still get a failed to update plugins message on startup.

jcurtis avatar Jul 23 '16 14:07 jcurtis

Oh yeah, I forgot that it didn't work by itself, I had to do npm i same as you, @jcurtis.

silvenon avatar Jul 23 '16 14:07 silvenon

# in your hyperterm-extension
npm link

# in ~/.hyperterm-plugins
npm link hyperterm-extension

then in HyperTerm -> View -> Reload to debug

iamstarkov avatar Jul 27 '16 21:07 iamstarkov

My issue was solved by uninstalling node and installing again in homebrew. I had conflicts between versions and npm versions as well. All fixed.

james-see avatar Jul 27 '16 23:07 james-see

@iamstarkov I tried, but this isn't related to a specific plugin, but HyperTerm itself. I checked the console as well, but nothing.

silvenon avatar Jul 28 '16 13:07 silvenon

Ah that makes perfect sense. I'm using nvm and had no system version of node running. Installing a version of node with homebrew looks to have fixed the problem. Not sure if this is something that can be fixed from the app perspective? It would need to bundle npm along with itself?

jcurtis avatar Aug 02 '16 05:08 jcurtis

I am experiencing this with 1.0.0 on Windows. No npm-debug.log is created. I have [email protected] and [email protected] installed via Chocolatey.

alexciarlillo avatar Dec 13 '16 03:12 alexciarlillo

Tried completely uninstalling node and reinstalling through brew, though I still get the "Error updating plugins" at every launch.

austin-guevara avatar Dec 15 '16 15:12 austin-guevara

I had this with hyper 1.0.0 on Windows. Problem was fixed after installing node (7.2.1) via chocolatey.

Waquo avatar Dec 20 '16 00:12 Waquo

I'm having the same issue on Windows 10 using coreybutler/nvm-windows to install Node. Not seeing any error messages in the Dev console or OS notifications, it just doesn't install anything in .hyper_plugins so i have to run npm i there manually

novascreen avatar Jan 07 '17 21:01 novascreen

Using bash C:\\Program Files\\Git\\bin\\sh.exe as default shell, cause the problem

cdanyl avatar Jan 12 '17 09:01 cdanyl

I'm experiencing this problem on Linux. Node&npm installed with nvm and they are loaded using bash-preexec functions

Alex0007 avatar Jan 16 '17 08:01 Alex0007

Currently experiencing this, really frustrating, tried reinstalling from node site, with homebrew several times, checking symlinks etc, no luck.

update. solved by using nvm.

asilvadesigns avatar Jan 17 '17 15:01 asilvadesigns

I really want to try Hyper but it crashed instantly on startup after installing and remivbing a few normal plugins. Getting the same "Error updating plugins Check ~/.hyperterm_plugins/npm-debug.log for more information." error

jessewaites avatar Jan 30 '17 15:01 jessewaites

Same issue on OS X with 1.2.0, tried reinstalling Brew-installed node, still happens even with no plugins. The log file referenced doesn't exist. Hyper 1.10.0 seems fine.

Fresh reinstall of 1.2.0 also seems fine.

austinbutler avatar Feb 16 '17 00:02 austinbutler

I'm sorry this is happening! Can you provide some more information about:

  • Node version and NPM version
  • Location of node and npm in the fs
  • Platform

when you encounter this bug?

rauchg avatar Feb 16 '17 00:02 rauchg

  1. Node v7.5.0
  2. NPM 4.1.2
  3. OS X 10.11.6

austinbutler avatar Feb 16 '17 00:02 austinbutler

Mac, node v7.4.0. Seemed to fix it with:

cd ~/.hyper_plugins
nvm use 6
npm i
npm rebuild
#bang coconuts together

edit ok scratch that. But I did do:

cd /Applications/Hyper.app/Contents/MacOS ; ./Hyper

and got:

plugins have changed / not init, scheduling plugins installation
running in prod mode
electron will open file:///Applications/Hyper.app/Contents/Resources/app/index.html
Checking for notification messages
No matching notification messages
TypeError: Cannot read property 'match' of undefined
    at shellEnv.then.env (/Applications/Hyper.app/Contents/Resources/app/plugins.js:244:29)
[Notification] Error updating plugins.: Check `~/.hyper_plugins/npm-debug.log` for more information.

but… I think this all is fixed by #1516 at this point.

srl295 avatar Feb 16 '17 19:02 srl295