bchatard / alfred-jetbrains

Alfred5 workflow to easily open your projects with your favorite JetBrains product.
MIT License
621 stars 49 forks source link

Error: Unable to find bin for PhpStorm. Search for bin named: phpstorm, pstorm #205

Closed iArt0s closed 3 years ago

iArt0s commented 3 years ago

Hey, Could you help me fix this?

What I did: 1.$ npm install -g @bchatard/alfred-jetbrains 2.

CleanShot 2021-03-11 at 14 07 04@2x
  1. replace this string CleanShot 2021-03-11 at 14 07 32@2x

and it still doesnt work

Error: Unable to find bin for PhpStorm. Search for bin named: phpstorm, pstorm
    at getApplicationPath (/usr/local/lib/node_modules/@bchatard/alfred-jetbrains/src/product.js:116:11)
    at Object.get (/usr/local/lib/node_modules/@bchatard/alfred-jetbrains/src/product.js:158:31)
    at /usr/local/lib/node_modules/@bchatard/alfred-jetbrains/src/index.js:13:38
    at Object.<anonymous> (/usr/local/lib/node_modules/@bchatard/alfred-jetbrains/src/index.js:60:3)
    at Object.<anonymous> (/usr/local/lib/node_modules/@bchatard/alfred-jetbrains/node_modules/esm/esm.js:1:251206)
    at /usr/local/lib/node_modules/@bchatard/alfred-jetbrains/node_modules/esm/esm.js:1:245054
    at Generator.next (<anonymous>)
    at bl (/usr/local/lib/node_modules/@bchatard/alfred-jetbrains/node_modules/esm/esm.js:1:245412)
    at kl (/usr/local/lib/node_modules/@bchatard/alfred-jetbrains/node_modules/esm/esm.js:1:247659)
    at Object.u (/usr/local/lib/node_modules/@bchatard/alfred-jetbrains/node_modules/esm/esm.js:1:287740)

- JetBrains - Open Project - v3 1.5.0 Alfred 4.3.2 darwin 20.3.0

bchatard commented 3 years ago

Shell script config should be like this on Toolbox level image

Then on product level like this image

I don't get your step 3, what is it?

iArt0s commented 3 years ago

yeah,thanks.Works!