-
-
Notifications
You must be signed in to change notification settings - Fork 432
sapper export: "UnhandledPromiseRejectionWarning: Error: Cannot add to a closed queue" #689
Comments
This was clobbered by #641 |
We're hit by this as well, making it impossible to deploy our Sapper-starter on Netlify as a static site. It can be reproduced by deploying it through sanity.io/create. It seems that async stuff in |
I created a temporary version that fixes this issue & #688 Use the following in your package.json
|
Excellent @btakita – tnx 🙌 |
@kmelve I also believe there is an issue in the default configuration for the deployed app in your sapper starter - even with this hotfix the deploy will fail. To deploy correctly you need to change the deploy directory from |
This is due to not waiting for all requests to finish in a promise.
See https://github.com/sveltejs/sapper/blob/master/src/api/export.ts#L176
The text was updated successfully, but these errors were encountered: