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