Problem when creating sveltekit project #11738
Replies: 8 comments 7 replies
-
Why are you using |
Beta Was this translation helpful? Give feedback.
-
Using |
Beta Was this translation helpful? Give feedback.
-
have you try this command: npm create svelte@latest my-app
cd my-app
npm install
npm run dev -- --open |
Beta Was this translation helpful? Give feedback.
-
I haven't had a chance to try out if it's a me problem or a problem with sveltekit dropping support for pnpm, but in the past pnpm worked with sveltekit and I loved it. Not only bc it makes it a lot faster to install but also cuz it saves disk space. I feel like many devs would agree with me that not being able to use pnpm is a big deal breaker |
Beta Was this translation helpful? Give feedback.
-
Oops accidentally closed it |
Beta Was this translation helpful? Give feedback.
-
I used the vite cli with pnpm then I selected svelte and sveltekit with the demo starter app template with typescript, eslint and prettier. The issue persistedin different directories and when not using eslintand prettier. My pnpm version is 8.14 and I'm using the newest version of create-vite |
Beta Was this translation helpful? Give feedback.
-
If you haven't been able to replicate the issue with pnpm than it might be some problem on my device but idk |
Beta Was this translation helpful? Give feedback.
-
I believe he meant that we have no control over the |
Beta Was this translation helpful? Give feedback.
Uh oh!
There was an error while loading. Please reload this page.
-
Describe the bug
Whenever i try to create a sveltekit project with
pnpm create vite
and usepnpm install
and then start the dev server withpnpm run dev
it gives me these errors:SvelteKitError: Not found: /workbox-c676b6d3.js
,SvelteKitError: Not found: /dev-sw.js
andSvelteKitError: Not found: /@vite-plugin-pwa/pwa-entry-point-loaded
Reproduction
use
pnpm create vite
and install the packages withpnpm install
. Then run the project by usingpnpm run dev
. it gives me the errorsLogs
System Info
Severity
blocking all usage of SvelteKit
Additional Information
No response
Beta Was this translation helpful? Give feedback.
All reactions