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

installFetch moved/renamed in sveltekit>=341 #27

Closed
mgruhn opened this issue May 27, 2022 · 0 comments · Fixed by #28
Closed

installFetch moved/renamed in sveltekit>=341 #27

mgruhn opened this issue May 27, 2022 · 0 comments · Fixed by #28

Comments

@mgruhn
Copy link

mgruhn commented May 27, 2022

Builds on the latest sveltekit release return this error:

.svelte-kit/appengine-tmp/entry.js:2:9: error: No matching export in "node_modules/@sveltejs/kit/dist/node/polyfills.js" for import "installFetch"

Sveltekit 341 renamed and moved installFetch. I think the fix is just to use installPolyfills from @sveltejs/kit/node/polyfills instead of installFetch.

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