jeff.hykinJ
Denoβ€’2y agoβ€’
2 replies
jeff.hykin

`deno compile` offline [Solved]

- I've got a sandbox (the nix packaging system requires it)
- I run
deno compile a.js
outside the sandbox. Works fine.
- I copy
$HOME/.cache/deno
into the sandbox
- I copy
$TMP
into the sandbox
- I download
denort-x86_64-unknown-linux-gnu.zip
and copy it into the sandbox
- (I don't know where to put it)
- I run
deno compile a.js
in the sandbox (no internet permissions) and get:
- error sending request for url (https://dl.deno.land/release/v1.44.4/denort-x86_64-unknown-linux-gnu.zip)

Where can I put the denort.zip where deno will find it?
Was this page helpful?