Skip to content

404 Error when deploying to Vercel #3142

@HeritagePalms

Description

@HeritagePalms

Describe the bug

With the new API changes that were done (#3133), the new output folder is '.output' instead of '.vercel_build_output' and Vercel doesn't seem to know what to do with that.

I have the preset set to Sveltekit and had to do a manual override on the output folder to '.vercel_build_output' for it to work. Now, I followed the Vercel guide for the file system api (https://vercel.com/docs/file-system-api), and my deployments just go to a 404 page. I also added the manual output override to '.output' but the deployments fail if I do that.

I understand that this might be a Vercel thing instead of SvelteKit. If so, then let me know and I will head over there.

Thanks.

Reproduction

I don't have a public repo available, sorry.

Logs

No response

System Info

System:
    OS: macOS 12.1
    CPU: (8) x64 Intel(R) Core(TM) i7-4770HQ CPU @ 2.20GHz
    Memory: 100.13 MB / 16.00 GB
    Shell: 5.8 - /bin/zsh
  Binaries:
    Node: 14.17.0 - /usr/local/bin/node
    npm: 7.17.0 - /usr/local/bin/npm
  Browsers:
    Chrome: 96.0.4664.110
    Edge: 96.0.1054.62
    Firefox Developer Edition: 96.0
    Safari: 15.2
  npmPackages:
    @sveltejs/adapter-vercel: next => 1.0.0-next.33 
    @sveltejs/kit: ^1.0.0-next.114 => 1.0.0-next.208 
    svelte: ^3.34.0 => 3.44.3

Severity

blocking an upgrade

Additional Information

No response

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't workingpkg:adapter-vercelPertaining to the Vercel adapter

    Type

    No type

    Projects

    No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions