Skip to content

Help on actual steps for updating Sveltekit versions #6038

Answered by tobylewis
tobylewis asked this question in Q&A
Discussion options

You must be logged in to vote

I have managed to do the update. In case this helps future travellers. I was a bit thrown by the syntax of the svelte versions "1.0.0-next.405" and have no idea how this might work with the ^ notations. However one can use the npm command
npm install <package>@<version>
npm i @sveltejs/[email protected]

or edit the line in the packages.json file and run npm install
"@sveltejs/kit": "1.0.0-next.405",

These didn't work for me initially so I created a new project, copied across the packages.json file, deleted my old node_modules and then ran npm install.

This added the line for "vite": "^3.0.4" mentioned above by Geoff. I knew sveltekit used vite and that it had not previously been in the p…

Replies: 2 comments 5 replies

Comment options

You must be logged in to vote
4 replies
@tobylewis
Comment options

@geoffrich
Comment options

@tobylewis
Comment options

@geoffrich
Comment options

Comment options

You must be logged in to vote
1 reply
@janzheng
Comment options

Answer selected by tobylewis
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
3 participants