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

production build fails #2

Closed
orefalo opened this issue Feb 6, 2022 · 5 comments
Closed

production build fails #2

orefalo opened this issue Feb 6, 2022 · 5 comments

Comments

@orefalo
Copy link

orefalo commented Feb 6, 2022

hi, just reporting this issue here - yarn build fails with:

> Using @sveltejs/adapter-node
Error: Cannot access url.searchParams on a page with prerendering enabled

I believe I found solutions here - didn't try yet.
sveltejs/kit#3173

@nstuyvesant
Copy link
Owner

Yep - API for SvelteKit changed. Small fix.

@nstuyvesant
Copy link
Owner

Try out 1.0.2 and let me know if that solves your issue.

@nstuyvesant
Copy link
Owner

Will close for now as I'm pretty sure 1.0.2 fixes. Can always reopen this.

@orefalo
Copy link
Author

orefalo commented Feb 8, 2022

it works, ty

@nstuyvesant
Copy link
Owner

Terrific - thanks for confirming!

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

No branches or pull requests

2 participants