DEV Community

Discussion on: How to use SvelteKit with Netlify Forms

Collapse
 
swyx profile image
swyx

i dont understand what you mean by "switching adapters from local to Netlify". there is no local adapter?

yes for the netlify node version we actually have this in the readme github.com/sveltejs/kit/tree/maste...

Netlify defaults to Node 12.16. SvelteKit requires Node v12.20 to build. You can pin the Node version with a .node-version or .nvmrc file: echo "14" > .nvmrc or set the NODE_ENV environment variable.