deno_emit icon indicating copy to clipboard operation
deno_emit copied to clipboard

deno deploy usage

Open mfulton26 opened this issue 3 years ago • 2 comments

When trying to use in Deno Deploy I get the following:

Error: Could not set the Deno root directory

Do I need to specify a cacheRoot myself and have the caches loaded in my git repository or is there a better way to do this?

mfulton26 avatar Oct 13 '22 22:10 mfulton26

I tried this out myself & was able to get this working by setting the cacheRoot to Deno.cwd(), which is the recommended way by the file system API docs to get a file system path.

Playground

NuroDev avatar Jun 02 '23 23:06 NuroDev