You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Thanks for the report! This is due to breaking changes to the adapter API introduced by SvelteKit next-208, which was released yesterday. I still need to update this adapter to work with the latest version of SvelteKit. You can follow #6 for updates.
Because SvelteKit has the version as "next" in your package.json, CI will grab the latest version, which is different than your local version. To work around this issue for now, you should manually install the SvelteKit version you have locally, which you can find in your package-lock.json. The latest version that will work with this adapter is next-206.
npm i @sveltejs/kit@1.0.0-next.206
By specifying which version to use in your package.json, your pipeline should use the same version you have locally.
I'll add a note to the README about the current version limitations. Closing in favor of #6.
building locally works.
But the github action fails with this error :
The Vite build is OK. Modules are transformed...
Only the adapter part fails.
I have checked my local version of node_modules/@sveltejs/kit/dist/chunks/index5.js:623:8 and I don't have 623 lines.
Why would the pipeline download a different version tho...
My pipeline file is the same as
https://github.com/geoffrich/sveltekit-azure-swa-demo/blob/main/.github/workflows/azure-static-web-apps-delightful-bush-01bdb9a0f.yml
my package.json
The text was updated successfully, but these errors were encountered: