#`deno compile` offline [Solved]

1 messages · Page 1 of 1 (latest)

scenic marsh
#
  • 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:

Where can I put the denort.zip where deno will find it?

#

deno compile offline [Solved]

#

Turns out copying over $HOME/.cache/deno should be sufficient, at least on Deno 1.44.4.

My issue was different versions inside and outside of the sandbox