phpStorm and terminal macOS error

Every time i run my iterm app i saw an error like this:

"The file /Applications/PhpStorm.app does not exist."

How I can fix this issue on my bash_profile?

 

thanks.

 

0
6 comments

Check if /Applications/PhpStorm.app exists. If not - correct the path to a valid one.

0
Avatar
Permanently deleted user

How I can correct the path? and where in which file?

0

iTerm is a 3rd party software: I can't advise on it's config.

Why don't you download dmg file, install it in Apps and use as usual?

-2
Avatar
Permanently deleted user

I use both phpstorm and phpstorm eap.

 

I fix this problem in this way:

 

1. find the pstorm command location

which pstrom

in my mac is 

/usr/local/bin/pstorm

2. use your favorite editor open this file(yes, the file is a shell script)

and find this line:

RUN_PATH = u'/Applications/PhpStorm EAP.app'

change to 

RUN_PATH = u'/Applications/PhpStorm.app'

in your case, may be another location.

3. and find this lile:

CONFIG_PATH = u'/Users/USERNAME/Library/Preferences/WebIde90'

change USERNAME to your own username

and check if this location is a dir

if it is, try your command in iTerm again

if not,

check your phpstorm version, if phpstorm version greater than 2017

in my case, I chage to this:

CONFIG_PATH = u'/Users/timjlin/Library/Preferences/PhpStorm2017.1'

 

and works fine.

 

by the way, I think this is a bug.

4

This issue is not about the configuration of iTerm. You get this error from the terminal inside PhpStorm as well. Kind of surprised of such a rough incompetent answer from JetBrains. 

In my case It has obviously to do with your complicated version update strategy. Instead of updating the installed version (2016.3) to 2017.1 I was forced to install the new version as a new app which has lead to several conflicts. One of them is now that the command "phpstorm" points to a shell script of the older version. But this isn't installed anymore...

So instead to advice to move your app around on the system maybe you should work on a less complicated version update system or at least on a better documentation for this. 

0

Yup, my reply back then is indeed incompetent and rather misleading. 

We're working on implementing a universal way of updating the app: https://youtrack.jetbrains.com/issue/IDEA-108061.

 

 

1

Please sign in to leave a comment.