kbshl/alfred-vscode

Issue on install via yarn

Opened this issue · 3 comments

Mac OS Mojave 10.14
Alfred 3.7
VSCode 1.28.2

I print vsc projectName, see list of my projects, press enter and nothing happens - vscode doesn't launch.

kbshl commented

@boochamoocha, do you use Code Insiders maybe?
If so, you need to set the vscodeEdition env variable to code-insiders.

image

Otherwise please check if you have the CLI command installed: https://code.visualstudio.com/docs/setup/mac#_launching-from-the-command-line

Maybe you can have a look into the debugging information while using the workflow with toggled debugging mode:

image

I have the same problem when installing through yarn, this is the error message:

[ERROR: action.script] /Users/dieter/Library/Caches/com.runningwithcrayons.Alfred-3/Workflow Scripts/64525B6B-89FD-48CC-9AD0-E85FE66C2043:1: no such file or directory: ./.bin/run.sh

Everything works fine when I install it using npm.

Looks like yarn doesn't include the .bin/run.sh file when you install using yarn global add alfred-vscode. I tried looking in

Files included with yarn global add Files included with npm install -g
image image