W
Wasp-lang14mo ago
ъї

[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.
No description
14 Replies
Zeko369
Zeko36914mo ago
Oh, so I'm not the only one with broken seeds? 🤔 Gimme a sec I have a patch for this
Zeko369
Zeko36914mo ago
No description
Zeko369
Zeko36914mo ago
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 🤔
Zeko369
Zeko36914mo ago
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
Zeko369
Zeko36914mo ago
(it's actually fixed in the latest version)
ъї
ъї14mo ago
linux 0.10.2 thanks! i will try it
Zeko369
Zeko36914mo ago
It looks fixed in 0.10.4 So you could also try upgrading
Vinny (@Wasp)
Vinny (@Wasp)14mo ago
I think this was solved in the most recent update -- make sure you're on Wasp version 0.10.3
Zeko369
Zeko36914mo ago
Yup, realised that after 😅
Vinny (@Wasp)
Vinny (@Wasp)14mo ago
using wasp version if you're not, update with this command curl -sSL https://get.wasp-lang.dev/installer.sh | sh -s @ъї
Zeko369
Zeko36914mo ago
Completely forgot to check that since I had a bunch of patches already 🤣
Vinny (@Wasp)
Vinny (@Wasp)14mo ago
haha no worries. Thanks for helping hacking out!
fossfighter
fossfighter14mo ago
yup, it worked on 0.10.4, thanks
shayne
shayne14mo ago
Yep, sorry about that gang, fixed in latest and glad you are using this feature! 🥳