T
TanStack9mo ago
noble-gold

Bug with Start-Basic (Resolved)

I'm getting a bug with the start-basic repo. I have a simple setup with prisma + sqlite, was practicing for a live demo I'm doing on tuesday and I'm getting this error that appears to be a vite issue with fsevents and stops js from loading on the page
Uncaught SyntaxError: The requested module '/_build/node_modules/resolve/index.js?v=6afd501e' does not provide an export named 'default' (at app.js?v=6afd501e:3:8)
Uncaught SyntaxError: The requested module '/_build/node_modules/resolve/index.js?v=6afd501e' does not provide an export named 'default' (at app.js?v=6afd501e:3:8)
https://github.com/jjhiggz/tanstack-bug
GitHub
GitHub - jjhiggz/tanstack-bug
Contribute to jjhiggz/tanstack-bug development by creating an account on GitHub.
1 Reply
noble-gold
noble-goldOP9mo ago
Also in general I would love to be able to contribute more, so if you have any tips on how to debug this stuff myself I'm all ears! I'd love to be more capable of solving rather than just reporting but not sure where to start (pun intended) with stuff like this. Figured it out It was because I imported z from "vinxi" instead of "zod", this is actually the second time this has happened to me and it's a super super super cryptic error message. What is the purpose of exporting zod from vinxi in the first place, and why does it explode like that?

Did you find this page helpful?