100lvlmaster / svelte-pwa

An example of svelte pwa
21 stars 2 forks source link

Unable to build w/ @sveltejs/adapter-static or @sveltejs/adapter-node #2

Open trulycool opened 2 years ago

trulycool commented 2 years ago

Thank you for the code. It runs well with "yarn dev". However, "yarn build" fails w/ exit code 1 with either of the following adapters.

Error w/ adapter-static: Cannot read property 'warn' of undefined Error w/ adapter-node: builder.rimraf is not a function

Node version: v14.19.0 "@sveltejs/adapter-node": "^1.0.0-next.71", "@sveltejs/adapter-static": "^1.0.0-next.29", "@sveltejs/kit": "^1.0.0-next.118",

Might you have any suggestions as to solutions to allow for a successful build?