cicada icon indicating copy to clipboard operation
cicada copied to clipboard

`[error] program not found` on running `cicada init`

Open GJZwiers opened this issue 1 year ago • 5 comments

I just followed the quickstart and installed cicada with npm, but cicada init throws an error after answering the prompts:

cicada init
✔ What should we call your pipeline · my-pipeline
✔ Select a template · Default
✔ Would you like to setup autocomplete for VSCode? · yes
[error] program not found

There is a .cicada folder made with a pipeline however.

deno --version

deno 1.32.5 (release, x86_64-pc-windows-msvc)
v8 11.2.214.9
typescript 5.0.3
cicada --version
cicada 0.1.41

node --version
v20.0.0

npm --version
9.6.4

GJZwiers avatar Apr 23 '23 15:04 GJZwiers

Hey, can you share the output of:

echo $TERM_PROGRAM
echo $TERM_PROGRAM_VERSION
command -v code

grant0417 avatar Apr 24 '23 02:04 grant0417

@grant0417 There is no output on running any of those commands (in PowerShell)

GJZwiers avatar Apr 24 '23 08:04 GJZwiers

Oh did not realize that! @chaynabors are you able to test this? Do we need to invoke code.exe instead of code?

grant0417 avatar Apr 24 '23 17:04 grant0417

@grant0417 We can't assume it's on the path. I'd just ignore the option on Windows for now until I can take a look.

chaynabors avatar Apr 24 '23 17:04 chaynabors

@chaynabors's temp solution was just to disable for windows

grant0417 avatar Apr 25 '23 01:04 grant0417