SolidJSS
SolidJS4y ago
8 replies
Razboy20

Vite v4 breaking solid-auth

Updating vite to 4.0.0 is causing problems where "uuid" is failing to load for some reason. I have no clue why, and was wondering whether anyone here may have any ideas. To replicate, I used
create-jd-app
with solid-auth, then updated packages. When attempting to login, this error is produced:
Error: Cannot read properties of undefined (reading 'v4')
-coming from attempting to import { v4 } from "uuid". Vite 3 does not cause this issue.
Was this page helpful?