Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

From 1.0.0-next.211 errors and pages reloads #3158

Closed
frederikhors opened this issue Dec 31, 2021 · 7 comments
Closed

From 1.0.0-next.211 errors and pages reloads #3158

frederikhors opened this issue Dec 31, 2021 · 7 comments

Comments

@frederikhors
Copy link
Contributor

frederikhors commented Dec 31, 2021

Describe the bug

From 1.0.0-next.211 on each navigation click there are errors in the console and automatic reload of the page and then that page works and the same happens for subsequent pages.

System Info

System:
    OS: Windows 10 10.0.19044
  Binaries:
    Node: 16.13.1 - C:\Program Files\nodejs\node.EXE
    npm: 8.3.0 - C:\Program Files\nodejs\npm.CMD
  Browsers:
    Edge: Spartan (44.19041.1266.0), Chromium (96.0.1054.62)
    Internet Explorer: 11.0.19041.1202

Severity

blocking all usage of SvelteKit

@frederikhors frederikhors changed the title From 1.0.0-next.211 errors and pages reloads. From 1.0.0-next.211 errors and pages reloads Dec 31, 2021
@HeritagePalms
Copy link

I know I was getting "New Dependencies Found" and then I get a reload while on 'Dev' but after visiting the various locations on the website this goes away. After a build and npm run preview, I don't get those messages. I don't consider those errors so, what error messages are you getting?

@frederikhors
Copy link
Contributor Author

@HeritagePalms if I restart the dev server it's all the same again.

@HeritagePalms
Copy link

@HeritagePalms if I restart the dev server it's all the same again.

Is it only in dev? How about preview after a build?

@frederikhors
Copy link
Contributor Author

Dev only. Or better, I don' event tried to publish or build. I reverted to 210.

@HeritagePalms
Copy link

HeritagePalms commented Dec 31, 2021

211 patch notes state: "Use Vite's filewatcher in dev mode instead of creating a new one". What errors were you getting though?

Edit: Also keep in mind that this won't affect your production build since it's only used on dev. Depending on how you publish your code, I publish to Vercel, then you will be using 1-next.211 unless you specifically tell it to stay at 1-next.210.

@kevinrenskers
Copy link

kevinrenskers commented Dec 31, 2021

Same here. The initial page load doesn't work at all, it shows as an error 500 for me. When I navigate to another link and back to that first page, it all works.. until I reload the page.

Edit: weirdly enough it solved itself after downgrading to 206 and up to 211 again. (Sadly the service worker bug isn't magically fixed in the same way.)

@bluwy
Copy link
Member

bluwy commented Jan 1, 2022

Please provide a reproduction.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants