mattvr
mattvr2y ago

deno.land/x/module not using latest tag

I created a repository, at deno.land/x/shellgpt, and pushed some tags. The latest version is v0.2.0. When I do deno install -A --name gpt https://deno.land/x/shellgpt/mod.ts I'd expect it to resolve to the latest, v0.2.0, but it's unexpectedly installing an older/broken version, v0.1. This seems to be a bug in deno.land or I'm doing something wrong. I had deleted some of these earlier tags and maybe the repo is in a bugged state?
3 Replies
Sorikairo
Sorikairo2y ago
Have the same problem with our CLI, I have to manually specify the latest version
Hexagon
Hexagon2y ago
deno install -frA f is force, which overwrites previous version. r is reload i think, clears your local cache.
mattvr
mattvrOP2y ago
Thanks, yep that’s it.

Did you find this page helpful?