You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Building process usually works, when I tried replacing this adapter for node, it fixed the problem (but I can't deploy it to firebase, because ESM doesn't run on cloud functions).
I read this project documentation several times, unfortunately I couldn't find any misconfiguration, but maybe I just didn't notice.
BTW, despite this error, I love this adapter, after 3 hours of attempting to deploy svelteKit app to firebase, I'm glad that project like this exists.
The text was updated successfully, but these errors were encountered:
@Hejtmus there was a change with SvelteKit @sveltejs/kit 1.0.0-next.104 which this adapter does not yet support. I am working on the update in #52
Because of this, the latest versions supported by this adapter is @sveltejs/kit 1.0.0-next.103
An unrelated note, you want your hosting.public field to be different to the SvelteKit files.assets dir as the adapter takes the files.assets (static dir in your config) and outputs them with the built app (non-ssr) files into hosting.public. The config you have atm is a conflict. Going to address in #56
The error you have hit is with your svelte.config.js format:
I will close this as I believe the intial cause should be resolved. Note that #52 will add support for @sveltejs/kit 1.0.0-next.104+, until then, please use @sveltejs/kit 1.0.0-next.103 as the SvelteKit version
Hello
I found this amazing adapter, after 3 hours lost on trying doing it manually.
So I installed this adapter according to the docs. But when I tried building it, I got this error:
I tried to tinker around with configuration, but nothing fixed that error.
svelte.config.js
just standard config file
firebase.json
package.json
Project files
Conclusion
Building process usually works, when I tried replacing this adapter for node, it fixed the problem (but I can't deploy it to firebase, because ESM doesn't run on cloud functions).
I read this project documentation several times, unfortunately I couldn't find any misconfiguration, but maybe I just didn't notice.
BTW, despite this error, I love this adapter, after 3 hours of attempting to deploy svelteKit app to firebase, I'm glad that project like this exists.
The text was updated successfully, but these errors were encountered: