Closed anhtuank7c closed 1 year ago
Init a new project, install inlang sdk, install sveltekit-flash-message
Please send us a link to a repository. Even if it is just 3 simple steps, the outcome is often not 100% the same as you set it up and then we need to experiment to reproduce the same outcome. It takes some time to create a new project (question: which options did you choose?), read the docs, figure things out and set it up (question: what does your inlang config look like?). You are saving us at least 10 minutes (if we set it up exaclty like you did) if we can just clone a repository and immediately see the issue.
@ivanhofer Thank you so much for reply. I've created a repo right here https://github.com/anhtuank7c/sveltekit-inlang-flashmessage/blob/main/src/routes/%2Blayout.server.ts Please help to check.
Thanks for the repo. The issue was fixed in version 0.11.5
Oh, Thank you a lot @ivanhofer
Did you check if the config file includes errors?
Problem
Since
sveltekit-flash-message
required some changes in+layout.server.ts
https://github.com/ciscoheat/sveltekit-flash-message#2-wrap-the-load-function-of-a-top-level-layout-or-page-routeSo it crash the inlang loader.
Expected behavior
No response
Reproduction
Init a new project, install inlang sdk, install sveltekit-flash-message
System Info
Other information
No response