© 2026 Hedgehog Software, LLC

TwitterGitHubDiscord
More
CommunitiesDocsAboutTermsPrivacy
Search
Star
Setup for Free
SupabaseS
Supabase•5mo ago•
4 replies
MyLizard

Beginner: How to Update Supabase Database from Typescript

Sorry for the beginner question. I'm a database person who's new to javascript (and app development in general).

I'm having trouble initializing my connection to Supabase from javascript. I've tried the method described here (https://supabase.com/docs/reference/javascript/initializing) and in screenshot, but it gives me this error:

Error [ERR_MODULE_NOT_FOUND]: Cannot find package '@supabase/supabase-js' imported from C:\Git\Supabase\supabase\functions\hexnode_db_update\index.ts

Am I just missing some basic component of how you do library imports in js?
connection_code.png
JavaScript: Initializing | Supabase Docs
Supabase API reference for JavaScript: Initializing
JavaScript: Initializing | Supabase Docs
Supabase banner
SupabaseJoin
Supabase gives you the tools, documentation, and community that makes managing databases, authentication, and backend infrastructure a lot less overwhelming.
45,816Members
Resources

Similar Threads

Was this page helpful?
Recent Announcements

Similar Threads

Supabase docker keep database on update
SupabaseSSupabase / help-and-questions
4y ago
Supabase Database
SupabaseSSupabase / help-and-questions
4y ago
how to select from supabase
SupabaseSSupabase / help-and-questions
14mo ago
MySql database to Supabase
SupabaseSSupabase / help-and-questions
8mo ago