Hyper: Error updating plugins

Created on 13 Dec 2016  路  10Comments  路  Source: vercel/hyper

  • [x] I am on the latest Hyper.app version
  • [x] I have searched the issues of this repo and believe that this is not a duplicate
  • OS version and name: Windows 8.1 x64, v6.3.9600
  • Hyper.app version: 1.0.0
  • Link of a Gist with the contents of your .hyper.js: LINK
  • Relevent information from devtools _(CMD+SHIFT+I on Mac OS, CTRL+SHIFT+I elsewhere)_: N/A
  • The issue is reproducible in vanilla Hyper.app: Is Vanilla

Issue

I have an error at start, says that plugins cannot be updated, see log (and the log isn't where is pointing to, '~.hyper-plugins\npm-debug.log'. I can reproduce the bug not only restarting the app but going to menu, 'Plugins' -> 'Update All Now'.

In my particular case, I have a Windows 8.1 without administrator rights at work so I think that limitation is causing the problem.

And, of course, amazing app, it's superb!

Most helpful comment

I have the same issue. Everything is broken on all my Mac machines.

All 10 comments

I have the same issue. Everything is broken on all my Mac machines.

Same issue on Windows 10 with admin rights, I'll try to do some more digging.

Edit: Possibly related to #312

Found the problem.

I was getting the error:

{ Error: Command failed: npm prune && npm install --production
bash: /s: No such file or directory

    at ChildProcess.exithandler (child_process.js:218:12)
    at emitTwo (events.js:106:13)
    at ChildProcess.emit (events.js:191:7)
    at maybeClose (internal/child_process.js:877:16)
    at Process.ChildProcess._handle.onexit (internal/child_process.js:226:5)

Looking into the install function, I noticed the path was correct, but the shell was interpreting it incorrectly. Commenting out the shell argument resolved the issue (line 243 currently). I had my shell set to bash.exe, but the default was also causing issues.

Not going to throw in a PR because i'm not sure how modifying the shell will effect other operating systems, but hopefully this comment helps.

@jonathandelgado I fixed the problem exactly like that but I wasnt sure how that was related so I didnt say anything. mine was set to fish

Yes, i'm using fish and am having this issue

I have searched the issues of this repo and believe that this is not a duplicate

Did you really? q.v. #312

Same issue here using fish

Closing in favor of #312 and #443

reinstall and delete profiles ( ~/.hyper.js and .hyper_plugins folder ).

it's work for me.

- windows 7
- hyper 2.0
Was this page helpful?
0 / 5 - 0 ratings

Related issues

ghost picture ghost  路  3Comments

laur1s picture laur1s  路  3Comments

legomushroom picture legomushroom  路  3Comments

aem picture aem  路  3Comments

sarneeh picture sarneeh  路  3Comments