Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Closed
2 tasks done
joybh98 opened this issue May 31, 2019 · 18 comments
Closed
2 tasks done

Comments

@joybh98
Copy link

joybh98 commented May 31, 2019

  • I am on the latest Hyper.app version
  • 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
@anthonykrivonos
Copy link

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.

@joybh98
Copy link
Author

joybh98 commented Jun 8, 2019

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

@amirrezasalimi
Copy link

@joybhallaa thanks you, its worked

@joybh98 joybh98 closed this as completed Jun 28, 2019
@typemismatch
Copy link

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.

@novusli
Copy link

novusli commented Oct 29, 2019

@joybhallaa Thank you, your solution works!

@matanglahav
Copy link

@joybhallaa Thank you, Worked like a charm!

@joehanko
Copy link

@joybhallaa worked for me too, thanks!

@joybh98
Copy link
Author

joybh98 commented Jan 23, 2020

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

@BLZH93
Copy link

BLZH93 commented Jan 30, 2020

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

@Shellchuck
Copy link

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

@joybh98
Copy link
Author

joybh98 commented Jun 20, 2020

@Shellchuck https://gist.github.com/joybh98/9610dd2059539df83725befd3be34dd4
here you go !

@Shellchuck
Copy link

@joybh98 Thank you!

@ji-ggy
Copy link

ji-ggy commented Jul 4, 2020

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

@joybh98
Copy link
Author

joybh98 commented Jul 17, 2020

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

@rafaelstz
Copy link

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

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

@parichaypari1986
Copy link

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

@Bekhzod2022
Copy link

that worked for me too. Thanks

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests