rabbit_rabbitR
Denoβ€’3y agoβ€’
4 replies
rabbit_rabbit

compiled artifact can't find deno.json

I'm using github actions to build and publish a binary like so

DENO_TLS_CA_STORE=system deno compile -A --unstable --target x86_64-unknown-linux-gnu --output binaries/web main.ts


After downloading and unzipping the binary I noticed I have to add chmod +x web which is fine, but then I see

error: Uncaught (in promise) Error: Could not find a deno.json file in the current directory or any parent directory.


even if I'm running in a directory with a deno.json file.

I'm running deno 1.37.0

Thanks in advance!
Was this page helpful?