Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Command failed: /bin/sh -c which idea #53

Closed
VanOvermeire opened this issue Aug 26, 2019 · 10 comments
Closed

Command failed: /bin/sh -c which idea #53

VanOvermeire opened this issue Aug 26, 2019 · 10 comments
Assignees
Labels
bug Something isn't working

Comments

@VanOvermeire
Copy link

I have a similar problem as the one described in the closed issue #48

Reinstalling fixed the issue yesterday. Today, it's back, see screenshot.

Screenshot 2019-08-26 at 15 08 21

My node version is 12.5.0 and Alfred is 3.8.2

Any ideas? I don't feel like reinstalling every day or so. :/

@zaherg
Copy link

zaherg commented Aug 26, 2019

@VanOvermeire I wish there is any other option, but based on our experience reinstalling fix it #48 (comment)

@bchatard
Copy link
Owner

Hi @VanOvermeire ,

Still no real idea about this issue. I will take a look on this more deeply. Maybe change the way I check the bin path.

@bchatard bchatard added the bug Something isn't working label Aug 27, 2019
@VanOvermeire
Copy link
Author

Ok, thanks!

@it-noob
Copy link

it-noob commented Aug 30, 2019

I have also encountered the same problem. In the past two weeks, I have been unable to use it every few days and can only reinstall.

I initially thought that alfred 3.5 had this problem, and later upgraded 4.0.3, the problem still exists.

My node version is v10.7.0 and Alfred is 4.0.3

@tswestendorp
Copy link

@VanOvermeire I wish there is any other option, but based on our experience reinstalling fix it #48 (comment)

Had the same issue, but indeed reinstalling fixed it

@terryupton
Copy link

terryupton commented Sep 5, 2019

I have the issue for PHPstorm

Error: Command failed: /bin/sh -c which phpstorm
    at makeError (/usr/local/lib/node_modules/@bchatard/alfred-jetbrains/node_modules/execa/index.js:174:9)
    at module.exports.sync (/usr/local/lib/node_modules/@bchatard/alfred-jetbrains/node_modules/execa/index.js:338:15)
    at handleShell (/usr/local/lib/node_modules/@bchatard/alfred-jetbrains/node_modules/execa/index.js:117:9)
    at Function.module.exports.shellSync (/usr/local/lib/node_modules/@bchatard/alfred-jetbrains/node_modules/execa/index.js:361:43)
    at getApplicationPath (/usr/local/lib/node_modules/@bchatard/alfred-jetbrains/src/product.js:82:24)
    at Object.get (/usr/local/lib/node_modules/@bchatard/alfred-jetbrains/src/product.js:118:31)
    at /usr/local/lib/node_modules/@bchatard/alfred-jetbrains/src/index.js:15:38
    at Object.<anonymous> (/usr/local/lib/node_modules/@bchatard/alfred-jetbrains/src/index.js:61: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

JetBrains - Open Project - v3 1.1.0
Alfred 4.0.3
darwin 18.7.0

@AdamBD
Copy link

AdamBD commented Sep 13, 2019

@bchatard which binary are we supposed to be pointing to?

@bchatard
Copy link
Owner

version 1.1.1 should fix the issue

@terryupton
Copy link

I have reinstalled version 1.1.1 and cleared cache and rebuilt the command line launcher in PHPstorm. However, I am now getting this error?

Your search - ``` TypeError [ERR_INVALID_ARG_TYPE]: The "path" argument must be one of type string ... - did not match any documents.

@bchatard
Copy link
Owner

@terryupton please see #59

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

7 participants