-
-
Notifications
You must be signed in to change notification settings - Fork 97
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
Errors with SvelteKit 1.0.0-next.191 or newer #196
Comments
@skrenes did you ever get to the bottom of this? I haven't had a lot of time to dig into the 2.6.12 changes but if you have a working configuration now I can update the project |
@AlecAivazis unfortunately I've been swamped and haven't had a chance to try to problem solve this. For my project, I've simply kept |
@skrenes I had a similar issue that I managed to solve by tweaking the Vite conf to this:
Reference: https://vitejs.dev/config/#server-fs-allow Might be worth trying :) |
Thanks so much @heliumbrain ! I also appreciate the reference. I tried to specifically allow only the Houdini folder and config directory, but the allow list seems to only respect paths. So I filed this bug: vitejs/vite#5689. In the meantime, I set the allow line to |
I hope this isn't an anomaly with my configuration, but since upgrading to Sveltekit 1.0.0-next.191 or newer, I'm getting a bunch of promise errors that prevent subscriptions from working. Queries still work though, despite the errors. I'm using a similar setup to my houdini-kit example.
My guess it may have to do with their security upgrade to Vite 2.6.12, specify allow list, and print warning and the location of the
$houdini
folder.The text was updated successfully, but these errors were encountered: