[SOLVED] Error when trying to use dbSeeding.
Hi. I am trying to used dbSeeding, but have some error. This does not depends on body of my seeding function.
14 Replies
Oh, so I'm not the only one with broken seeds?
🤔
Gimme a sec
I have a patch for this
What OS are you on?
MacOS/Linux the path to this file should be the same as mine
(for wasp team: the error here is a circular depend since prisma imports auth utils (pass hash) which imports prisma AND assings it's restructuring to something)
Hmm actually @ъї which version are you on?
Since this seams fixed in the latest commit 🤔
GitHub
Seeding broken 🤔 · Issue #1195 · wasp-lang/wasp
Describe the bug (From discord) To Reproduce Steps to reproduce the behavior: Add seeds Run seeds it fails with the above error Expected behavior Add seeds Run seeds it works
(it's actually fixed in the latest version)
linux
0.10.2
thanks! i will try it
It looks fixed in 0.10.4
So you could also try upgrading
I think this was solved in the most recent update -- make sure you're on Wasp version 0.10.3
Yup, realised that after 😅
using
wasp version
if you're not, update with this command curl -sSL https://get.wasp-lang.dev/installer.sh | sh -s
@ъїCompletely forgot to check that since I had a bunch of patches already 🤣
haha no worries. Thanks for helping hacking out!
yup, it worked on 0.10.4, thanks
Yep, sorry about that gang, fixed in latest and glad you are using this feature! 🥳