svimg icon indicating copy to clipboard operation
svimg copied to clipboard

Not working with static adapter

Open djmtype opened this issue 2 years ago • 0 comments

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)

djmtype avatar Feb 18 '23 18:02 djmtype