Comments (5)
Version 2.3.1 (commit 901a988) indeed fixes this issue! Thanks @ciscoheat 🎉🙏!
from sveltekit-flash-message.
Hi, thank you for the test case, unfortunately when I add /testpage
to the url, Vite crashes with this error:
Error: `line` must be greater than 0 (lines start at line 1)
at originalPositionFor$1 (/home/projects/sveltejs-kit-template-default-f28ajv/node_modules/vite/dist/node/chunks/dep-R0I0XnyH.js:10341:19)
at eval (/home/projects/sveltejs-kit-template-default-f28ajv/node_modules/vite/dist/node/chunks/dep-R0I0XnyH.js:50359:25)
at eval (/home/projects/sveltejs-kit-template-default-f28ajv/node_modules/vite/dist/node/chunks/dep-R0I0XnyH.js:50350:21)
at ssrRewriteStacktrace (/home/projects/sveltejs-kit-template-default-f28ajv/node_modules/vite/dist/node/chunks/dep-R0I0XnyH.js:50349:10)
at ssrFixStacktrace (/home/projects/sveltejs-kit-template-default-f28ajv/node_modules/vite/dist/node/chunks/dep-R0I0XnyH.js:50402:24)
at Object.ssrFixStacktrace (/home/projects/sveltejs-kit-template-default-f28ajv/node_modules/vite/dist/node/chunks/dep-R0I0XnyH.js:60086:13)
at fix_stack_trace (/home/projects/sveltejs-kit-template-default-f28ajv/node_modules/@sveltejs/kit/src/exports/vite/dev/index.js:271:8)
at eval (/home/projects/sveltejs-kit-template-default-f28ajv/node_modules/@sveltejs/kit/src/exports/vite/dev/index.js:539:13)
from sveltekit-flash-message.
Thanks for trying it out!
Apparently the Vite crash happens when I use Chrome/Chromium. I have no idea why, but the error is probably related to my issue?
My error happens when I use Firefox. Can you try it again using Firefox?
from sveltekit-flash-message.
I don't think it's a browser issue related to the library. It works locally in Chrome, and hopefully it will be fixed in the next release.
from sveltekit-flash-message.
See if this is fixed now with version 2.3.1.
from sveltekit-flash-message.
Related Issues (20)
- Example for flashCookieOptions HOT 7
- Flash Messages Not Working HOT 5
- Error when using vitest 0.34.1 - Failed to resolve entry for package "sveltekit-flash-message". HOT 3
- Flash message not appearing when using layout groups. HOT 2
- Firefox Warning: Misuse of the SameSite Cookie Attribute HOT 3
- setFlash not working HOT 3
- Persistent Flash store data after server redirect HOT 12
- flash store undefined after redirect HOT 1
- Identifier 'load' has already been declared HOT 8
- Error: getFlash options can only be set at the first call to getFlash. HOT 9
- feature request: consider adhering to SvelteKit 2.0 practices regarding (not) throwing errors/redirects HOT 3
- chore: update SvelteKit `peerDependency`
- `redirect` with two parameters does not work with type `Cookies` HOT 1
- Suggestion: improve `getFlash` options HOT 1
- No redirect option to another page within form action? HOT 2
- any support in PageServerLoad? HOT 2
- Could not show flash message when redirecting. HOT 15
- Feature Request: More properties to work better with svelte-sonner HOT 2
- flash does not trigger. HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from sveltekit-flash-message.