Open byroncoetsee opened 1 month ago
Same issue for me as well
TypeError: Cannot read properties of undefined (reading 'tables')
at https://local.drizzle.studio/index.js:12873:27177
at Array.forEach (
0.33.0 - drizzle-orm version
0.24.0 - drizzle-kit version
Same issue here also:
TypeError: Cannot read properties of undefined (reading 'tables') at https://local.drizzle.studio/index.js:12873:27177 at Array.forEach (<anonymous>) at https://local.drizzle.studio/index.js:12873:27062 at Array.forEach (<anonymous>) at https://local.drizzle.studio/index.js:12873:27021 at Array.forEach (<anonymous>) at sii (https://local.drizzle.studio/index.js:12873:26986) at tAl (https://local.drizzle.studio/index.js:13147:11192)
i have same issue..
I am facing the same issue. Additionally this happens when connecting to Supabase remote db. If i run same migrations on a local db, it works perfectly.
In fact I have been using a hack to load https://local.drizzle.studio/
pointed to local db first so it loads fine. Then I change the env variable to remote db and restart drizzle studio (without reloading the browser tab), and for all interactions on any table now it works perfectly fine even on remote db! 😄
Probably an issue only in downloading and parsing the schema somewhere it seems...
Same ^^
Same ^^
Same ^^
Looks fixed now y'all
Looks fixed now y'all
Seems it is. working for me now. We need to know where was the issue. I believe it is on Supabase side as I tried with a Neon db and it was ok
good! very well!
Starting studio in CLI works (no errors thrown) but browsing to local.drizzle.studio shows the error
TypeError: Cannot read properties of undefined (reading 'tables')
Has been working fine until suddenly it didn't.generate
,introspect
both work fine correctly so the DB is available and the connection works.package.json
Here is the error context: