Hyper: Getting the error "execvp(3) failed: No such file or directory" when opening hyper on Ubuntu 18.04

Created on 31 May 2019  路  17Comments  路  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

Issue

I have downloaded hyper version 3.0.2 on my Ubuntu 18.04, there were no problems in the download part.
When I opened the hyper app, I got greeted with the error execvp(3) failed: No such file or directory.

Things that I've tried:

  1. Go to view->reload & view-reload

Most helpful comment

Hey @anthonykrivonos, I tried your solution, but it did not work for me, but I looked around and found out that the execvp(3) error occurs when there is a issue with the path or terminal. So I looked into the hyper.js file and found out that the default shell that should be run was not there, so I added /bin/bash and it worked, I'm going to attach a link to the gist which may help other people.
Should I open a new issue to add a default path ?

Gist

All 17 comments

I was having the same issue and this is how I fixed it: navigate to the Hyper preferences (it's a file called .hyper.js and change the updateChannel to 'canary'. Then, simply reload the terminal and let Hyper update itself. Let me know if that fixes things.

Hey @anthonykrivonos, I tried your solution, but it did not work for me, but I looked around and found out that the execvp(3) error occurs when there is a issue with the path or terminal. So I looked into the hyper.js file and found out that the default shell that should be run was not there, so I added /bin/bash and it worked, I'm going to attach a link to the gist which may help other people.
Should I open a new issue to add a default path ?

Gist

@joybhallaa thanks you, its worked

This is still an issue, just installed today on OSX 10.14.6 and Hyper 3.0.2 and there was no shell in the .js file.

@joybhallaa Thank you, your solution works!

@joybhallaa Thank you, Worked like a charm!

@joybhallaa worked for me too, thanks!

Welcome, everyone! Is this issue still there? I'd like to open an issue to work on this.

Yup! still going on! Used your code and it fixed it in a whiff. Thank you bud!

@joybh98 Hi, could you please share your code one more time? The gist is unavailable.

@joybh98 Thank you!

@joybh98 where can i find hyper.js file?
i open my hyper terminal and click preferences but hyper.js not show up.

if you're using linux, it should be in your home directory.
Type ls -alF or ll if you're on ubuntu or ubuntu based distros

To me, it worked when I changed the shell to this path below in the ~/.hyper.js.

...
 shell: '/bin/zsh',
...

I don't have updateChannel in that hyper.js file. How do I solve the same problem

Was this page helpful?
0 / 5 - 0 ratings

Related issues

alejandrofloresm picture alejandrofloresm  路  3Comments

leo picture leo  路  3Comments

ConstantinChirila picture ConstantinChirila  路  3Comments

ghost picture ghost  路  3Comments

juicygoose picture juicygoose  路  3Comments