Just tried using the adapter - both in my excisting svelte-kit project and in a fresh one using npm init svelte@next. Getting the same error during npm run build in both:
> Using svelte-adapter-deno
> Cannot read property 'minor' of undefined
TypeError: Cannot read property 'minor' of undefined
at adapt (file:///Users/nilskanevad/code/svelte-kit-playground/node_modules/svelte-adapter-deno/index.js:26:14)
at adapt (file:///Users/nilskanevad/code/svelte-kit-playground/node_modules/@sveltejs/kit/dist/chunks/index6.js:338:8)
at file:///Users/nilskanevad/code/svelte-kit-playground/node_modules/@sveltejs/kit/dist/cli.js:894:11
My svelte-config.js looks like this:
import preprocess from 'svelte-preprocess';
import adapter from 'svelte-adapter-deno'
/** @type {import('@sveltejs/kit').Config} */
const config = {
// Consult https://github.com/sveltejs/svelte-preprocess
// for more information about preprocessors
preprocess: preprocess(),
kit: {
adapter: adapter({
// default options are shown
out: 'build',
deps: './deps.ts' // (relative to adapter-deno package)
})
}
};
export default config;
Hello!
Just tried using the adapter - both in my excisting svelte-kit project and in a fresh one using
npm init svelte@next
. Getting the same error duringnpm run build
in both:My
svelte-config.js
looks like this:SvelteKit v1.0.0-next.125 Vite v2.4.2