Quantcast
Channel: Active questions tagged svelte - Stack Overflow
Viewing all articles
Browse latest Browse all 1541

Problem When Deploying Sveltekit Project to Vercel

$
0
0

So I Was trying to deploy my Sveltekit app with Vercel but this happened:

Cloning completed: 221.226msPrevious build cache not availableUsing prebuilt build artifacts...Error: Config file was not found at "/vercel/path0/.vercel/output/config.json"at P8 (/var/task/sandbox.js:315:2645)

My svelte.config.js file:

import vercel from '@sveltejs/adapter-vercel'/** @type {import('@sveltejs/kit').Config} */const config = {kit: {    adapter: vercel()}};export default config;

As you can see I do have the adapter for Vercel imported and in use. So what is the Problem Here? I can figure it out

My build command is: pnpm run buildMy output directory is: .svelte-kitMy install command is: pnpm install


Viewing all articles
Browse latest Browse all 1541

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>