prisma / demo-sveltekit

Demo app for Sveltekit article
14 stars 9 forks source link

Cannot find package 'svelte-preprocess' #10

Open JLenssen opened 10 months ago

JLenssen commented 10 months ago

Hi,

I am new to svelte so this might be an user error.

After running

git clone https://github.com/sonylomo/demo-sveltekit.git
cd demo-sveltekit
pnpm install
pnpm run dev

I encountered the following error

error when starting dev server:
Error [ERR_MODULE_NOT_FOUND]: Cannot find package 'svelte-preprocess' imported from /home/user/demo-sveltekit/svelte.config.js
Did you mean to import svelte-preprocess@4.10.7_svelte@3.59.2_typescript@4.9.5/node_modules/svelte-preprocess/dist/index.js?

Fixed by running

pnpm i svelte-preprocess