vercel / hyper

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

Hyper 3.0.2 window does not open on Windows 10 #4035

Closed mrjones2014 closed 3 years ago

mrjones2014 commented 5 years ago

Issue

When I try to launch Hyper, it appears as though nothing happens. However, the weird thing is, the Hyper process does show up in task manager. However, there is no icon for it on the start bar, and there is no window anywhere.

image

Megumin-Master commented 4 years ago

@ivycmg and anyone else having the same difficulties, make sure that you have git installed in your ssd, not your hdd.

Follow the same instructions you were given by the previous instructions, but before you open hyper, reinstall git and make sure it's installed in your ssd.

I hope this helps in some way.

ivycmg commented 4 years ago

@ivycmg and anyone else having the same difficulties, make sure that you have git installed in your ssd, not your hdd.

Follow the same instructions you were given by the previous instructions, but before you open hyper, reinstall git and make sure it's installed in your ssd.

I hope this helps in some way.

@Megumin-Master I've been searching for this issue for the last few days and it helps! I'm stuck with my online course because of this. Thank you very much!

ankawas commented 4 years ago

Hi guys, all of you who are stuck on this issue. I suggest using Microsoft power shell which is the inbuilt command line for shell scripting. There is no point in wasting time to fix this issue or get stuck because of it. Hyper does not have anything special that Power shell does not have.

mrjones2014 commented 4 years ago

@ankawas Hyper and Powershell aren't the same thing at all. It's apples to oranges. Powershell is a shell, Hyper is a terminal emulator.

ankawas commented 4 years ago

@mrjones2014 Thanks for the clarification. But is there anything particularly in this course that can't be done on PowerShell? Also is there any place where I can see what the exact difference is? I just want to see if there is something that can't be done on PowerShell and you would absolutely need a Terminal emulator for your Windows.

mrjones2014 commented 4 years ago

@ankawas this issue wasn't started from any course, I opened it because I liked Hyper as a terminal emulator. As far as the difference between Powershell and Hyper, the comparison would be like asking "what is the difference between a computer and a keyboard?". Here is a brief overview of the terms.

mrjones2014 commented 4 years ago

@ankawas you can even use Powershell within Hyper.

ankawas commented 4 years ago

@mrjones2014 Thank you for the link. I apologize if my comment offended you in any way. I am still learning the concepts. My comment was meant for the people who were stuck in the course because of this issue. Also, I don't think the analogy of keyboard and computer work in this scenario. If the purpose was to make me look dumb then that's different.

mrjones2014 commented 4 years ago

@ankawas sorry, didn't mean to make you look dumb, that was definitely not my intention. All I meant was that using Powershell isn't a solution for the real issue here.

ankawas commented 4 years ago

@mrjones2014 That's okay bro. And thanks for the link. I definitely want to clear out my doubts about this issue. Have a nice day!

avinesh2101 commented 4 years ago

go in users->appdata -> roaming -> and in roaming folder rename .hyper to .hyper.js

thats it and it will work .

florpistan commented 4 years ago

Hey Guys I have found the solution

1.) Open the CMD as Administrator and run this...

gpupdate /force

then uninstall hyper and remove its folder from these directories.. %appdata% and %localappdata%

Install Hyper Again

and then restart your PC. Problem Solved!

This worked, thank you so much :D

MayankRajAnand commented 4 years ago

Hey Guys I have found the solution 1.) Open the CMD as Administrator and run this... gpupdate /force then uninstall hyper and remove its folder from these directories.. %appdata% and %localappdata% Install Hyper Again and then restart your PC. Problem Solved!

this worked for me but..

I'm on Udemy(enrolled in webdev bootcamp) now and our instructor had asked us to install Hyper and edit its preferences with the Hyper config

After editing the preferences, I close Hyper to reload the update but it doesn't open again. Is there an alternative that works similar to Hyper that I can use? Otherwise, I'm just stuck on Udemy 🤣 appreciate your help

Broooo doing the same udemy course.Please help.How to proceed

yonatan-levin commented 3 years ago

I had the same issue, I solve it by uninstall the app and then manually delete the hyper folder from AppData -> Roaming & AppData -> Local after that I reinstall the app and now it will load.

HaykMarkosyan commented 3 years ago

Screenshot 2021-02-09 213225

I think Hyper don't working on Windows 10

ivycmg commented 3 years ago

Hi guys I was stuck on this issue also before but my only mistake here was I installed my git on my hdd instead of ssd. So make sure you installed your git on your ssd not hdd.

and then,

Follow the same instructions you were given by the previous instructions, but before you open hyper, reinstall git and make sure it's installed in your ssd.

mrjones2014 commented 3 years ago

@ivycmg there is no way that installing on an HDD vs. an SSD is the cause of this issue.

ivycmg commented 3 years ago

Hi @mrjones2014 I just followed @Megumin-Master said above because I was also stuck on this issue lastyr. I did all of the possible solutions but really didn't work for me so when he said that it was suppose to be installed in ssd I tried it and it worked for me. But correct me if I'm mistaken thank you! :)

LabhanshAgrawal commented 3 years ago

I am not able to reproduce this. Can some of you try the steps from here , run the dev environment and report the output of yarn run dev & yarn run app

@mrjones2014 can you try this ^

or run hyper -v from cmd and report it's output (use the ci build to install)

mrmos commented 3 years ago

@LabhanshAgrawal

was trying out your steps above - found something interesting... hyper crashes for me when loading via taskbar or search... but if I open hyper from an elevated Command Prompt, it works

Right-click > Run as Administrator fixes this issue for me

LabhanshAgrawal commented 3 years ago

@mrmos what's the output from hyper -v also are you using the ci build?

candyzhousisi commented 3 years ago

Hey Guys I have found the solution 1.) Open the CMD as Administrator and run this... gpupdate /force then uninstall hyper and remove its folder from these directories.. %appdata% and %localappdata% Install Hyper Again and then restart your PC. Problem Solved!

this worked for me but.. I'm on Udemy(enrolled in webdev bootcamp) now and our instructor had asked us to install Hyper and edit its preferences with the Hyper config After editing the preferences, I close Hyper to reload the update but it doesn't open again. Is there an alternative that works similar to Hyper that I can use? Otherwise, I'm just stuck on Udemy rofl appreciate your help

I had the same issue (I think I am on the same Udemy course as well!). The configuration that the instructor gave us had this on line 69 "shell: 'C:\Program Files\Git\git-cmd.exe'," This was not the location where I had installed my git-bash. I changed the path to point to the right folder which see to have fixed the issue. (Note that the double backslash may still be needed to escape backslash character)

Hey Guys I have found the solution 1.) Open the CMD as Administrator and run this... gpupdate /force then uninstall hyper and remove its folder from these directories.. %appdata% and %localappdata% Install Hyper Again and then restart your PC. Problem Solved!

this worked for me but.. I'm on Udemy(enrolled in webdev bootcamp) now and our instructor had asked us to install Hyper and edit its preferences with the Hyper config After editing the preferences, I close Hyper to reload the update but it doesn't open again. Is there an alternative that works similar to Hyper that I can use? Otherwise, I'm just stuck on Udemy rofl appreciate your help

Solution:

  1. Go to Control Panel and uninstall Hyper
  2. Do the combination Ctrl + R, type in %appdata% and delete Hyper folder. Then type %localappdata% and delete the hyper folder.
  3. Install Hyper again. You do not need to download the setup again, just run it.

PS: For those enrolled in the Angela Yu's Udemy course, you can copy the configuration course and paste it in the preferences file of Hyper. But for those who did not install Git on C drive, like me and installed somewhere in their desired location, just navigate to that location until you find git-cmd in the files, then from the address bar (located at the top having an icon of a folder, has > then your drive name, etc) copy the address by clicking in the address bar. Now open the preferences file of Hyper and find the shell key and paste the address between the quotation marks. Now double the forward slashes like so "//". At the end of the address, place double slashes and write "git-cmd.exe", without the quotation marks. After doing that, you will get a notification confirming the change to the configurations. Now go to file and either open a new tab or open a new window to test it out before closing Hyper and opening it again. Hope it helps. Cheers!

Well I was learning about git merging and branching from the same course guess what it merged two branches ,but everytime I try to check network tab inside github insight it show there is no branching at all so I shut down my system and when I came back I saw now my hyper wont exit git branch it keeps on showing (master) in my root directory .well I uninstalled hyper and git now it wont open

So if it helps someone plz tell me solution of both of my problem or else what are hyper alternatives?? Thank you neutral_face

Alternative: Hello guys if you are learning Angela Yu's WebDevelopment model then there is no need to go through Hyper. U can use your command prompt everything is working.

Only for Creation of file you have to use : type nul>filename.js Rest of the things are working fine.

Where is the preferences file of Hyper ? how can I find it and change my address

Durva15 commented 3 years ago

Hey Guys I have found the solution 1.) Open the CMD as Administrator and run this... gpupdate /force then uninstall hyper and remove its folder from these directories.. %appdata% and %localappdata% Install Hyper Again and then restart your PC. Problem Solved!

this worked for me but.. I'm on Udemy(enrolled in webdev bootcamp) now and our instructor had asked us to install Hyper and edit its preferences with the Hyper config After editing the preferences, I close Hyper to reload the update but it doesn't open again. Is there an alternative that works similar to Hyper that I can use? Otherwise, I'm just stuck on Udemy 🤣 appreciate your help Same issue is with me...Angela Yu

I am facing the same issue.

Shivam-Shankhwar commented 3 years ago

For all of the guys coming from Angela's lessons, i seem to have found a solution :

artdevesa7 commented 3 years ago

I managed the issue by removing the hyper folder from the /Users/[username]/AppData/Local folder and restarted the installation.

This worked for me too, works now. thanks

LabhanshAgrawal commented 3 years ago

For all of the guys coming from Angela's lessons, i seem to have found a solution :

@Shivam-Shankhwar and what is it?

vicjohnson1213 commented 3 years ago

If hyper stopped launching after changing any configs make sure your syntax is correct and any paths actually exist (specifically if you changed the shell).

My hyper installation broke because I just copied the path to bash out of the File Explorer, but the backslashes need to be escaped:

C:\Program Files\Git\bin\bash.exe

changes to

C:\\Program Files\\Git\\bin\\bash.exe
juansierrabravo commented 3 years ago

For those enrolled in the Angela's course:

I had the same problem. I solved it, but I don't know if it's even legal.

First of all, I noticed there is a path in the Hyper configuration. The path heads to github-cmd.exe, but this file is not in that path. So I looked for the github-cmd.exe file, copied the route, and pasted it replacing C:\\Program Files\\Git\\bin\\bash.exe, then I changed the single slash \ by double slashes \\, and then I could run Hyper. This worked for me. Please someone tell me if I did something I shouldn't have.

juansierrabravo commented 3 years ago

For those enrolled in the Angela's course:

I had the same problem. I solved it, but I don't know if it's even legal.

First of all, I noticed there is a path in the Hyper configuration. The path heads to github-cmd.exe, but this file is not in that path. So I looked for the github-cmd.exe file, copied the route, and pasted it replacing C:\\Program Files\\Git\\bin\\bash.exe, then I changed the single slash \ by double slashes \\, and then I could run Hyper. This worked for me. Please someone tell me if I did something I shouldn't have.

If you don't find the file you must edit, press Win+R and type %appdata%, open the folder Hyper and there is the file. Its name is .hyper.js

mariance95 commented 3 years ago

Just install GitBash if you haven't, I did and it solved my problem. Just in case someone else get this issuo wit Hyper.

pstrings commented 3 years ago

Updating the preferences caused the problem in my case. All I had to do is give the correct path to bash cmd, as I installed it in my D drive instead of C drive.

LeeAlfred commented 3 years ago

I am also doing Angela's Web Dev bootcamp and was having issues installing on a different PC. The steps on this page worked for me... https://myrlandnu.medium.com/guide-to-install-and-configure-hyper-for-windows-10-52a829c97b25 ... Everything Angela provided was correct BUT this article gave a screen shot of the page I was getting when I opened up Hyper initially and how pressing ctrl + , (control and the comma the same time) opens up a Hyper-notepad. I just copied and pasted the Hyper config for git bash in Windows from here .... https://gist.github.com/coco-napky/404220405435b3d0373e37ec43e54a23

andrekoener commented 3 years ago

I had the same problem while doing Angela's Bootcamp. Initially, the terminal worked but it seems that the config file you are requested to overwrite corrupted it; comparing both files today it looks like the config file was updated in later node.js versions. The following solution worked well for me:

  1. Uninstalled Hyper with Windows Apps & Features.
  2. C:\Users[User]\AppData\Local and deleted the hyper folder.
  3. C:\Users\Megaport\AppData\Roaming and deleted the Hyper folder.
  4. Re-run the Hyper installer, it should launch properly now.
  5. In order to configure Hyper for using Git-bash, instead of replacing the whole config file, just replace the values for shell: and shellArgs: with the ones of the config linked in the course.
anjalishyamjith commented 3 years ago

I had the same problem while doing Angela's Bootcamp. Initially, the terminal worked but it seems that the config file you are requested to overwrite corrupted it; comparing both files today it looks like the config file was updated in later node.js versions. The following solution worked well for me:

  1. Uninstalled Hyper with Windows Apps & Features.
  2. C:\Users[User]\AppData\Local and deleted the hyper folder.
  3. C:\Users\Megaport\AppData\Roaming and deleted the Hyper folder.
  4. Re-run the Hyper installer, it should launch properly now.
  5. In order to configure Hyper for using Git-bash, instead of replacing the whole config file, just replace the values for shell: and shellArgs: with the ones of the config linked in the course.

Worked for me!

zngab commented 3 years ago

Steps to solve this if you are doing Angela's course:

  1. Locate the .hyper (js) file, mine is in C:\Users[username]\AppData\Roaming\Hyper,
  2. Open .hyper with notepad or other text editor,
  3. Locate your installed Git Folder and copy the path where you find the git-cmd.exe file,
  4. Go to line 106 of .hyper file, replace the shell configuration with the path you copied from step 3, in my case, 'C:\Users\[username]\AppData\Local\Programs\Git\git-cmd.exe'. REMEMBER to use double slash instead of single slash for the folder,
  5. Go to line 110 of .hyper file, replace the shellArgs configuration with ['--command=bin/bash.exe'].
  6. Save .hyper and reopen the hyper terminal, it should work now.
redshift-cyber commented 3 years ago

Uninstall the older version and remove the hyper folder from %LOCALAPPDATA% to ensure a clean install.

what about on windows?

iDCoded commented 3 years ago

Hey Guys I have found the solution

1.) Open the CMD as Administrator and run this...

gpupdate /force

then uninstall hyper and remove its folder from these directories.. %appdata% and %localappdata%

Install Hyper Again

and then restart your PC. Problem Solved!

Thanks, this worked perfectly!

leon-adarcewicz commented 2 years ago

For those enrolled in the Angela's course: I had the same problem. I solved it, but I don't know if it's even legal. First of all, I noticed there is a path in the Hyper configuration. The path heads to github-cmd.exe, but this file is not in that path. So I looked for the github-cmd.exe file, copied the route, and pasted it replacing C:\\Program Files\\Git\\bin\\bash.exe, then I changed the single slash \ by double slashes \\, and then I could run Hyper. This worked for me. Please someone tell me if I did something I shouldn't have.

If you don't find the file you must edit, press Win+R and type %appdata%, open the folder Hyper and there is the file. Its name is .hyper.js

thank you! worked for me. I experienced the issue described here after almost 7 months of using Hyper on a new machine