svimg
svimg copied to clipboard
Not working with static adapter
Receiving an error on build even after providing the rollup.config.js setup. Using "@sveltejs/adapter-static": "^2.0.1"
> Using @sveltejs/adapter-static
error during build:
TypeError: Cannot read properties of undefined (reading 'some')
at adapt (file:///Volumes/Evo/Sites/sveltekit-tryout/node_modules/.pnpm/@[email protected]_l5ueyfihz3gpzzvvyo2ean5u3e/node_modules/@sveltejs/adapter-static/index.js:11:24)
at adapt (file:///Volumes/Evo/Sites/sveltekit-tryout/node_modules/.pnpm/@[email protected][email protected][email protected]/node_modules/@sveltejs/kit/src/core/adapt/index.js:28:8)
at Object.handler (file:///Volumes/Evo/Sites/sveltekit-tryout/node_modules/.pnpm/@[email protected][email protected][email protected]/node_modules/@sveltejs/kit/src/exports/vite/index.js:611:12)
at async PluginDriver.hookParallel (file:///Volumes/Evo/Sites/sveltekit-tryout/node_modules/.pnpm/[email protected]/node_modules/rollup/dist/es/shared/rollup.js:23933:17)
at async Object.close (file:///Volumes/Evo/Sites/sveltekit-tryout/node_modules/.pnpm/[email protected]/node_modules/rollup/dist/es/shared/rollup.js:25229:13)
at async build (file:///Volumes/Evo/Sites/sveltekit-tryout/node_modules/.pnpm/[email protected]/node_modules/vite/dist/node/chunks/dep-9912c491.js:44657:13)
at async CAC.<anonymous> (file:///Volumes/Evo/Sites/sveltekit-tryout/node_modules/.pnpm/[email protected]/node_modules/vite/dist/node/cli.js:813:9)