Back

Allow deno -A flag for runtime.

  • 0
  • Web
  • Cloud
Victor
22 Oct, 2024, 12:48

Hi all, I am deploying my Deno function to appwrite with the deno run -A src/main.ts build command. However when actually executing the function i get the following error

NotCapable: Requires sys access to "osRelease", run again with the --allow-sys flag. Is it possible to run deno with the -A command?

TL;DR
Developers are looking to use the `-A` flag with Deno for Appwrite deployment, but encountering a permission error. Solution: include the `--allow-sys` flag when running `deno run -A src/main.ts` to grant system access.
Reply

Reply to this thread by joining our Discord

Reply on Discord

Need support?

Join our Discord

Get community support by joining our Discord server.

Join Discord

Get premium support

Join Appwrite Pro and get email support from our team.

Learn more