morlinbrot
morlinbrot7mo ago

Won't install `npm:@supabase/ssr`

I'm trying to build something with Fresh and Supabase and would like to use the @supabase/ssr package (which is still in beta). Deno won't load the package though, what am I doing wrong?
npm
@supabase/ssr
This submodule provides convenience helpers for implementing user authentication in your favorite framework.. Latest version: 0.0.10, last published: 2 months ago. Start using @supabase/ssr in your project by running npm i @supabase/ssr. There are 3 other projects in the npm registry using @supabase/ssr.
5 Replies
crowlKats
crowlKats7mo ago
what is the error?
morlinbrot
morlinbrot7mo ago
no-cache-npm, e.g. "Uncached or missing npm package". I ran deno cache -r --lock-write main.ts already Wait, might it be that I'm not yet using the supabase var I'm creating...?
morlinbrot
morlinbrot7mo ago
Ok, now that I'm using it, I'm also getting an error in the terminal:
No description
crowlKats
crowlKats7mo ago
supabase, not upabase
morlinbrot
morlinbrot7mo ago
You've got to be kididng me. Although, to save my honour: That was just a direct import I added while debugging, I had it correctly in the import_map. So afterall, it was the fact that I didn't yet use the supabase I created so it was never on the deps tree (which makes total sense, d'uh...) 😃 Well, in any case, thanks alot, it's working now!
More Posts
`RangeError: Offset is outside the bounds of the DataView` when trying to encrypt with AES-CRTHi, I'm trying to encrypt some files with aes128-crt, but I always get the error below. (Even if I jAny way for VS Code to auto-complete library subdirectory in import?Is there any way for VS Code to suggest subdirectory in a package (especially for npm package) when get hours & minutes in a specific timezoneMaybe I search the wrong way, but all I'd like to do is to use a specific timezone in my project runConnection refused when creating a local API serverI'm following [Simple API server | Deno Docs](https://docs.deno.com/deploy/tutorials/simple-api "Simdeno deploy queuesis there a special flag or setting required for queues in deno deploy , i ceated a very simple exampWhat is the difference between importing "preact" via esm.sh or npm:...?What is the difference between importing "preact" via esm.sh or npm:...? "preact": "https://esm.sh/pDeployctl, error: Uncaught (in promise) NotFound: Failed to spawn 'start': program not found```powershell > deployctl logs a i Provisioning a new access token... i Authorization URL: https://dis there a way to make the call stack in deno larger?I already think this is a no from what I have gathered but I thought Id askwhere would i go to report a minor bug in module search on deno.land ?hi, i noticed a minor bug in module search on deno.land. it's easily replicable. where would i rep@headlessui/react + FreshI'm trying to use preact/compat to leverage @headlessui/react, but running into In the `"imports"`