cmorten / opine

Minimalist web framework for Deno ported from ExpressJS.
https://github.com/cmorten/opine/blob/main/.github/API/api.md
MIT License
854 stars 43 forks source link

Cannot import vary the URL has changed #48

Closed Ciantic closed 4 years ago

Ciantic commented 4 years ago
error: Import 'https://deno.land/x/vary@dc17535/mod.ts' failed: 403 Forbidden
Imported from "https://deno.land/x/opine@0.19.1/deps.ts:46"

This is caused by this line: https://github.com/asos-craigmorten/opine/blob/main/deps.ts#L46

Not sure what the version is supposed to be, I think it should be:

https://deno.land/x/vary@1.0.0/mod.ts

asos-craigmorten commented 4 years ago

This is / was caused by a breaking change to the Deno registry today meaning we can no longer reference commits and/or branches - see https://deno.land/posts/registry2

I believe at the time of using this module it didn’t have a tagged release hence the commit, hopefully the fix is as simple as you say and can use 1.0.0 (or later version if exists).

asos-craigmorten commented 4 years ago

@Ciantic Please try out opine@0.20.0 - should hopefully be resolved 😄