Running with --cached-only not working
First I cache all dependencies of my typescript file:
Then I try to execute the file using
Then I get e.g. the following error:
Why isn't
deno cache --lock=deno.lock --lock-write server.tsThen I try to execute the file using
--cached-only:deno run --cached-only --allow-net --allow-read --allow-sys --allow-env --allow-run server.tsThen I get e.g. the following error:
error: Error getting response at https://registry.npmjs.org/@aws-sdk/client-rds-data for package "@aws-sdk/client-rds-data": An npm specifier not found in cache: "@aws-sdk/client-rds-data", --cached-only is specified.Why isn't
@aws-sdk/client-rds-data cached by the first command if it's needed when I run server.ts?