Skip to content
This repository has been archived by the owner on Oct 25, 2023. It is now read-only.

Issue on install via yarn #10

Open
boochamoocha opened this issue Nov 2, 2018 · 3 comments
Open

Issue on install via yarn #10

boochamoocha opened this issue Nov 2, 2018 · 3 comments
Labels
bug yarn Yarn package manager related stuff

Comments

@boochamoocha
Copy link

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
Copy link
Owner

kbshl commented Dec 27, 2018

@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

@DieterHolvoet
Copy link

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.

@kbshl kbshl changed the title VSCode doesn't launch Issue on install via yarn Mar 9, 2019
@kbshl kbshl added bug yarn Yarn package manager related stuff labels Mar 9, 2019
@robertcoopercode
Copy link

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

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
bug yarn Yarn package manager related stuff
Projects
None yet
Development

Successfully merging a pull request may close this issue.

4 participants