Solit-start routing works for a bit after `run dev`, but then only shows 404. Why?

After starting dev npm run dev, I get the overview:
** ➜ Page Routes:
┌─ http://localhost:3000/*404
├─ http://localhost:3000/account
├─ http://localhost:3000/
└─ http://localhost:3000/settings
**
** ➜ Page Routes:
┌─ http://localhost:3000/*404
├─ http://localhost:3000/account
├─ http://localhost:3000/
└─ http://localhost:3000/settings
**
I can then switch between the pages a little, but at some point it'll just show 404 or /. No errors or warnings anywhere, has anyone experienced this before?
3 Replies
Bersaelor
BersaelorOP2y ago
PS: I can switch between /account and /settings as much as I want, but as soon as I switch to / the next times I try to go anywhere but /, I will see the 404 PS: When I use an A to go from /settings to /, it'll reload weirdly, show / but then it goes back to settings. Weird? PPS: Only happens in run dev, not in run build
mdynnl
mdynnl2y ago
try removing .solid folder and npm run dev again. but it's likely the browser is caching. see if hard refresh or disabling cache changes anything
Bersaelor
BersaelorOP2y ago
nah, resseting didn't do anything. Furthermore, I also noticed that the page tries to open a lot of about:blank tabs, even just during initial page loading. (I didn't notice earlier since the popups were blocked). Again, this is only happening during run dev. Production is fine
Want results from more Discord servers?
Add your server