svelte-adapter-github icon indicating copy to clipboard operation
svelte-adapter-github copied to clipboard

builder.prerender() has been removed.

Open orefalo opened this issue 3 years ago • 3 comments

Hi, getting this error...

> Using svelte-adapter-github
> builder.prerender() has been removed. Prerendering now takes place in the build phase — see builder.prerender and builder.writePrerendered
    at Object.prerender (file:///Users/orefalo/GitRepositories/svelte-related/svelte-splitpanes/node_modules/@sveltejs/kit/dist/chunks/index4.js:161:10)
    at adapt (file:///Users/orefalo/GitRepositories/svelte-related/svelte-splitpanes/node_modules/svelte-adapter-github/index.js:21:18)
    at adapt (file:///Users/orefalo/GitRepositories/svelte-related/svelte-splitpanes/node_modules/@sveltejs/kit/dist/chunks/index4.js:180:8)
    at file:///Users/orefalo/GitRepositories/svelte-related/svelte-splitpanes/node_modules/@sveltejs/kit/dist/cli.js:935:11

orefalo avatar Apr 05 '22 20:04 orefalo

Oh wow! I've neglected this repo. And now realizing I should've forked svelte's repo, instead of cloning, so I could sync their updates.

Working to resolve.

j4w8n avatar Aug 11 '22 13:08 j4w8n

Bruh

nickmura avatar Sep 20 '22 01:09 nickmura

Ok, if you haven't already abandoned this adapter (and I wouldn't blame you), I finally found some time to get this straightened out. Try installing the latest version. I've pushed my own static site to test, and all seems good.

@orefalo @nickmura

j4w8n avatar Sep 27 '22 17:09 j4w8n