Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Vercel Deployment - Cannot read property 'location' of undefined at get_single_valued_header #3298

Closed
hemanthvalsaraj opened this issue Jan 12, 2022 · 1 comment
Labels
pkg:adapter-vercel Pertaining to the Vercel adapter

Comments

@hemanthvalsaraj
Copy link

This ain't working for me either. Am I missing something here?

package.json
{ "@sveltejs/adapter-vercel": "next", "@sveltejs/kit": "next", "svelte": "^3.44.0", "svelte-preprocess": "^4.10.1", }

Error Log on Vercel
`

Using @sveltejs/adapter-vercel
Cannot read property 'location' of undefined
at get_single_valued_header (file:///vercel/path0/node_modules/@sveltejs/kit/dist/chunks/url.js:8:23)
at visit (file:///vercel/path0/node_modules/@sveltejs/kit/dist/chunks/index5.js:436:22)
error Command failed with exit code 1.
info Visit https://yarnpkg.com/en/docs/cli/run for documentation about this command.
Error: Command "yarn run build" exited with 1
`

Originally posted by @hemanthvalsaraj in #3142 (comment)

@benmccann benmccann added the pkg:adapter-vercel Pertaining to the Vercel adapter label Jan 12, 2022
@benmccann
Copy link
Member

please follow the bug reporting template. there's not enough information here to do anything meaningful with your report

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
pkg:adapter-vercel Pertaining to the Vercel adapter
Projects
None yet
Development

No branches or pull requests

2 participants