Nachocab
Nachocab15mo ago

Fresh error: Could not fetch latest version

Total newbie here. I'm getting "Update check failed: Could not fetch latest version." when I make a change like replacing {a} with {b}, for example. The page is not updating automatically (but it works if I refresh manually). This is my test component. What am I missing? I'm sure it's something super basic.
export default function Testing() {
const a = 1;
const b = 2;
return <div>{a}</div>;
}
export default function Testing() {
const a = 1;
const b = 2;
return <div>{a}</div>;
}
3 Replies
marvinh.
marvinh.15mo ago
The "Could not fetch latest" version means that the update check that checks if a new Fresh version is out there failed. It's a harmless and can be ignored. The not updating manually is something I think I fixed in main . I should cut a patch release
Nachocab
NachocabOP15mo ago
Thanks. I thought I was doing something wrong because if I manually change useSignal(3) to useSignal(4) in the demo project, it does refresh automatically.
marvinh.
marvinh.15mo ago
that's probably because an island is on the page. I think I accidentally introduced a bug where the refresh script is only sent when there is an island on the page. The demo app has a <Counter /> island