Open KunalSin9h opened 1 month ago
Does this happen after restarting the dev server. There is a known bug: https://github.com/solidjs/solid-start/issues/1286
@ryansolid tested also with v1, when adding new route this error happens, but after shutting down vite and restart is working.
Based on my experience, encountering such issues is usually due to:
clientOnly
wrapper, which might require an elimination process to identify it ðŸ˜Generally, restarting the development server resolves the issue. Sometimes, it's also necessary to delete the node_modules/.vinxi
directory.
working only when removing node_modules/.vinxi
package.
same issue happened to me when creating routes/product/[id].tsx
, even after restarting the dev server, the problem persists, but deleting node_modules/.vinxi
resolves it.
A hard reload on the browser (Ctrl+Shift+R) seems to solve it for me
I have had this problem as well. The problem goes away when I disable the browser cache.
removing node_modules/.vinxi
or doing a hard reload cmd + shift + R
solves the issue as well.
same problem
Duplicates
Latest version
Current behavior 😯
Whenever i create a route with folders like
routes/admin/dash.tsx
this error happens when accessing that page.Expected behavior 🤔
The page should render as normal.
Steps to reproduce 🕹
Steps:
Context 🔦
No response
Your environment 🌎
No response