AmusedGrapeA
Denoβ€’3y agoβ€’
10 replies
AmusedGrape

LocalStorage Override

I'm using a library (@supabase/supabase-js), and I'm compiling my Deno app into an executable, however when I run it I get: error: Uncaught NotSupported: LocalStorage is not supported in this context.

The weird thing, is that I have a custom storage adapter for Supabase (using SQLite more or less) however I'm still getting this issue.

My question is, is it possible to override the localStorage usage in a third-party library so I can use this executable?

Thanks!
Was this page helpful?