#prisma db not initialized

1 messages · Page 1 of 1 (latest)

dusky obsidian
#

Now I'm gonna preface saying you should be asking this on the prisma server but I'll indulge you

We'll need much more info

  • what's the output from prisma generate?
  • can you confirm there is a .prisma folder in node_modules?
  • have you triple checked your prisma schema?
  • are you running prisma generate on the same system and OS (mind something like WSL or docker) as the bot?
  • have you tried detaching from the bot as a whole and just using a dummy JavaScript file that you launch with node and just console logs something but also loads prisma?
compact lily
#

Okayy
Here’s the output from prisma generate:

#

the folder

#

I think the schema is fine because it works in another project, but not when using Sapphire.

#

same os

#

I also tried importing it in index.ts with a simple console.log, but it doesn’t seem to work either.

compact lily
#

😭 solved

#

this code line

#

delete

#

🙏