j4w8n / svelte-adapter-github

A deploy adapter, customized for GitHub Pages
MIT License
43 stars 3 forks source link

builder.prerender() has been removed. #1

Open orefalo opened 2 years ago

orefalo commented 2 years ago

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
j4w8n commented 2 years ago

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.

nickmura commented 2 years ago

Bruh

j4w8n commented 2 years ago

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