blog · 14 Apr 2023
Error svelte adapater build
Fix - Error sveltejs/adapter-vercel possibly installed through sveltejs adapter-auto on stackblitz ⚡
Hello again my friend !!
And on this content we will be explain how to fix and solved svelte kit project vercel adapter.
We have project and use online IDE stacbliz, we develope project on stacblizt then integration with our github repo, after that we deploy it on vercel host.
First deploy will be find , because no issue in here…
and after long time no touch this project, so we need to update content project, after we update content article and we push commit on github repo, and automaticly vercel deploy our project.
But deploy project is failed, and we not change all code structure , just create a new content article, then deploy it.
and i see error log on
vercel adapter , we look
svelte.config is use auto adapter
complete error log production
Error: @sveltejs/adapter-vercel >=2.x (possibly installed through @sveltejs/adapter-auto) requires @sveltejs/kit version 1.5 or higher. Either downgrade the adapter or upgrade @sveltejs/kit
- we need to update svelte project or downgrade vercel adapter
if you use stackblitz IDE so you can update on
package.json files for example like this
Then save your
package.json files , and try deploy again on vercel for example.
and congratulations you have solved this problem, we hope this article is help you for solved Error: @sveltejs/adapter-vercel >=2.x (possibly installed through @sveltejs/adapter-auto).
Bonus content : All svelte source code project →