Vite keeps loading the packages first before @solidjs/router

Hi, is there any way to tell vite to load my custom package (that uses solidjs router as dependency) after loading the solid router? I kept getting errors like use-hooks must be called within Router
1 Reply
Brendonovich
Brendonovich2mo ago
This usually points to multiple versions of Solid Router being installed Assuming you're using pnpm run pnpm up -r @solidjs/router@latest
Want results from more Discord servers?
Add your server