Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Running an app in WebStorm on MacOS with Parallels installed

When I try to run a project from WebStorm 9, I get the following error:

The application /User/{Username}/Applications (Parallels)/{{guid}}/...

I then click "Fix" and try to specify a custom path to Chrome. After I browse, it shows up as:

/Applications/Google Chrome.app

Parallels seems to be forcing WebStorm to look for applications in the Parallels folder.

How can I override this behavior in WebStorm?

like image 316
Doug Avatar asked Mar 17 '23 23:03

Doug


2 Answers

It's a Parallels issue - see http://youtrack.jetbrains.com/issue/WI-36#comment=27-70940 Please try the following: global parallels menu: Virtual Machine -> Configure -> Options tab -> Applications -> uncheck Share Windows applications with Mac

like image 173
lena Avatar answered Mar 23 '23 23:03

lena


I also had the same issue and changing Parallels sharing settings was not a good option for me. Fortunately, it can be fixed in WebStorm configuration. Just specify Mac location of Chrome /Applications/Google Chrome.app instead of an incorrect one Google Chrome.app for the default browser setting in ide.general.xml:

~/Library/Preferences/WebStorm11/options/ide.general.xml
...
<option name="browserPath" value="/Applications/Google Chrome.app" />
...

It's also possible to do it in UI, though set it up in ide.genera.xml works more reliable in my case.

like image 32
Andrew Terekhine Avatar answered Mar 24 '23 00:03

Andrew Terekhine