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
When I imported in into deno, it complais that it is not using svelte-adapter-deno. But this is not true.
Here is my svelte.config.js
importadapterfrom'svelte-adapter-deno';/** @type {import('@sveltejs/kit').Config} */constconfig={kit: {// adapter-auto only supports some environments, see https://kit.svelte.dev/docs/adapter-auto for a list.// If your environment is not supported or you settled on a specific environment, switch out the adapter.// See https://kit.svelte.dev/docs/adapters for more information about adapters.adapter: adapter()}};exportdefaultconfig;
and it is also in package.json.
When commiting to github after that, the deploy fails with a strange message in the deploy log
The text was updated successfully, but these errors were encountered:
pdenapo
changed the title
[Bug]:
[Bug]: Deployment of a sveltke-kit app fails, telling me that I'm not using the svelte-deno-adapter when I am.
Sep 5, 2023
There are 2 sveltekit adapters in npm: svelte-adapter-deno and sveltekit-adapter-deno.
We only detect the latter sveltekit-adapter-deno as the adapter for Deno Deploy because the former one has major issue in bundling ( pluvial/svelte-adapter-deno#40 ) , but it doesn't solve it for long time (it doesn't look maintained anymore).
This seems caused by uploading too many files (4679 files) to Deno Deploy. This is caused because node_modules directory is remaining from previous steps, and denoland/deployctl tries to upload everything in the current dir. If I replaced pnpm build to pnpm build && rm -rf node_modules in my forked repository, denoland/deployctl action ran successfully.
Problem description
I have a svelte-kit app in Deno Deploy.
When I imported in into deno, it complais that it is not using svelte-adapter-deno. But this is not true.
Here is my svelte.config.js
and it is also in package.json.
When commiting to github after that, the deploy fails with a strange message in the deploy log
Finishing deployment...
Error: TypeError: terminated
However, my site just works in Deno Deploy.
Steps to reproduce
clone my repository
https://github.com/pdenapo/svelte-app-deno.git
and import in into Deno Deploy
Expected behavior
Deploy the site without errors.
Environment
Everthing is done through github actions
Possible solution
No response
Additional context
No response
The text was updated successfully, but these errors were encountered: