Commit 47c5c61
committed
fix: dedupe @solidjs/router to resolve duplicate Router context
SolidBase 0.6.3 pins @solidjs/router ^0.15.3 while the project uses
^0.16.1, causing two router copies in node_modules and two distinct
Router contexts at runtime. SolidBase's useLocation then hits the
'<A> and use router primitives can be only used inside a Route'
invariant.
Add a pnpm override to force a single @solidjs/router@^0.16.1, and
exclude vite/@solidjs/router from minimumReleaseAge to avoid
ERR_PNPM_MISSING_TIME during install.1 parent 2ad1632 commit 47c5c61
2 files changed
Lines changed: 2184 additions & 4097 deletions
0 commit comments