Opening a folder in PhpStorm from terminal is successful on Windows, but returns a "Windows RegCreateKeyEx(...)" error which makes the terminal hang

-1

PhpStorm 2018.2.4, Git 2.19.1, Windows 10 version 1511

So my main problem actually has to do with the error I get after successfully opening a file or folder in PhpStorm from the command line; I added PhpStorm's bin directory to my Path environment variable before trying this... The error I get is included in the photo below, but I'll also type it out manually. The terminal will hang until I "ctrl D" out, but that will simultaneously close PhpStorm as well (I'm using Git Bash by the way). Is there a way to stop this from happening?

screenshot of terminal hanging, but PhpStorm is still opened in another window

$ phpstorm /c/Users/Afriedman/Documents/Practice_Code_Stuff/simple_react_redux Oct 10, 2018 12:28:24 PM java.util.prefs.WindowsPreferences <init>
WARNING: Could not open/create prefs root node Software\JavaSoft\Prefs at root 0x80000002. Windows RegCreateKeyEx(...) returned error code 5.

I'm hoping someone has experienced this before, since most of the problems I've found while researching solutions are related to getting PhpStorm to open from the terminal in the first place (which I'm already accomplishing), or how to use a particular CLI when opening the integrated terminal in PhpStorm after it's already been opened (which I also know how to do); I haven't found anything yet related to getting this particular error message after a successful "phpstorm < dir >" call from the terminal.

"phpstorm ."

"phpstorm /c/Users/UserName/Documents/Practice_Code_Stuff/simple_example"

and

" '/c/Program Files/JetBrains/PhpStorm 2018.2.4/bin/phpstorm.exe' /c/Users/UserName/Documents/Practice_Code_Stuff/simple_example"

all work when I type them into git bash/windows terminal and press enter, but make the terminal hang as a result.

git
windows-10
phpstorm
git-bash
phpstorm-2018.2
asked on Stack Overflow Oct 10, 2018 by afriedman1991 • edited Oct 10, 2018 by Brad Larson

0 Answers

Nobody has answered this question yet.


User contributions licensed under CC BY-SA 3.0