Closed nicolo-ribaudo closed 2 months ago
I'm getting an exit code 1
on macOS with zsh:
$ npx jsr init
Unknown command: init
# ...snip
$ echo $?
1
I just tried again and I now also get 1 with an error:
Luckily I still have my terminal opened for yesterday, and I can guarantee that the command was not failing :sweat_smile:
It was the first time I was using npx jsr
, so it just installed jsr@0.12.2
yesterday.
Oh I can reproduce it again, it happens if you do not already have a package.json
file.
Yup that's it. Can confirm this bug.
I tried running
npx jsr init
to see if it did something.init
is not supported (so it did nothing), but it exists with0
rather than a non-0 exit code.