Open nmalchy opened 11 months ago
Yes i had to install the new versions manually again too to get rid of that error.
Yes i had to install the new versions manually again too to get rid of that error.
Tried that and still not working, I think it has to do with my other dependencies like Sentry, I'm sure a fresh project will be fine but I think I just have to wait for the other projects to catch up, it has only been a day.
npm rm @sveltejs/adapter-static @sveltejs/kit @sveltejs/vite-plugin-svelte
npm i
npm i @sveltejs/adapter-static @sveltejs/kit @sveltejs/vite-plugin-svelte -D
npm rm @sveltejs/adapter-static @sveltejs/kit @sveltejs/vite-plugin-svelte npm i npm i @sveltejs/adapter-static @sveltejs/kit @sveltejs/vite-plugin-svelte -D
this hasn't worked for me
This worked for me I used --force flag based on the answer from @peterpeterparker npm rm @sveltejs/kit @sveltejs/vite-plugin-svelte --force npm i npm i @sveltejs/adapter-static @sveltejs/kit @sveltejs/vite-plugin-svelte -D
Hope this helps someone else.
rm package-lock.json
npm install
Describe the bug
Running
npm install
does not work after running the migration command to sveltekit v2Here is the error I am getting:
Here is my diff after the migration command:
Reproduction
Run
npx svelte-migrate sveltekit-2
and thennpm install
Logs
No response
System Info
Severity
blocking an upgrade
Additional Information
No response