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
Bersaelor13mo 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
mdynnl13mo 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
Bersaelor13mo 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
More Posts
Conditional fetching with createResourceHi! Alright, this might be a little bit silly but here's my problem: I have a context provider compoIs there a polyfills.ts for `solid-start`? Or is there a way of modyfing the produced `index.html` ?So, in the `aws amplify` framework there is a common bug, which all frameworks have to fix somehow: Pure client based page complaining about `window is not defined` in solid-start (No SSR needed)Back when I was just working with `solid.js` I could use `window` in my code just fine, for. pages tWhy does typescript not accept `text() && text().length === x` in solid-start?Is anyone aware why typescript complains about ```ts text() && text().length === 6 ``` in a projecUniversal renderer createElement isn't runningI'm working on a custom renderer and I can't get the createElement function to run. I'm not sure if How to read reactive state from imperative contexts (audio/music)**tl;dr:** is there any major DO NOT guideline around (constantly!) reading reactive states from fuHow to handle auto scrolling in a chat app when new message comes in?So this is an example what i currently have ```jsx const App = () => { const [messages, setMessageHow to get `onMount` to be called on the client for a server-rendered siteI've set up a new project using `solid-start` with `solid-start-aws`. Running `npm run build` createReactivity with normal functionsI try the following: `doubleCount` is using `createMemo` while `tripleCount` is a normal anonymous fSolid-js design system CSS troubleshootingI have a design-system I am building out using Kobalte. However, when I export the components none o