Broken production build
fayazara opened this issue · 5 comments
fayazara commented
I connected D1 in settings and it throws this error in the console, any idea, what's causing this?
Demo - https://nuxt-todos-edge-5ij.pages.dev/
Code - https://github.com/fayazara/nuxt-todos-edge/
fayazara commented
Works perfectly in local btw
atinux commented
fayazara commented
How do I do this?
atinux commented
You create a D1 database, open the console of it.
Then copy the content of https://github.com/Atinux/nuxt-todos-edge/blob/main/server/db/migrations/0000_sloppy_starfox.sql in it
fayazara commented
Worked, thanks !!