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

adapter-vercel returns an error with latest version "TypeError: options.esbuild is not a function" #1958

Closed
flayks opened this issue Jul 19, 2021 · 0 comments · Fixed by #1954

Comments

@flayks
Copy link

flayks commented Jul 19, 2021

Describe the bug

When migrating to the latest version of the Vercel adapter (1.0.0-next.25), I get this error when deploying on Vercel:

Reproduction

Just using the default config

Logs

TypeError: options.esbuild is not a function
    at adapt (file:///vercel/path0/node_modules/@sveltejs/adapter-vercel/index.js:39:39)

System Info

from Vercel build, not locally

Severity

blocking an upgrade

Additional Information

No response

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant