Beatbump icon indicating copy to clipboard operation
Beatbump copied to clipboard

Vercel deploying need help

Open Metastem opened this issue 3 years ago • 2 comments

QQ截图20221202075444 QQ截图20221202075500 QQ截图20221202075713

Metastem avatar Dec 01 '22 23:12 Metastem

install command: npm update && npm install , it need newer sveltekit.

and enable, technically it already there just need switch it up.

			//hooks: "src/hooks.server",
			// New vercel need this enabled
			hooks: { server: "src/hooks.server" },

ref: https://github.com/martadinata666/Beatbump/blob/54e00f216187e2c57a376f7501c93daaf3c6cde4/app/svelte.config.js#L53-L55

martadinata666 avatar Dec 03 '22 14:12 martadinata666

install command: npm update && npm install , it need newer sveltekit.

and enable, technically it already there just need switch it up.

			//hooks: "src/hooks.server",
			// New vercel need this enabled
			hooks: { server: "src/hooks.server" },

ref: martadinata666/Beatbump@54e00f2/app/svelte.config.js#L53-L55

This is entirely correct, but good news! I've just updated SvelteKit & adapters, so the problem should be fixed now on the master branch

snuffyDev avatar Dec 05 '22 05:12 snuffyDev