Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Update SvelteKit version to 1.0.0-next.588 to prep for migration to 1.0 #95

Open
siuangie91 opened this issue Dec 15, 2022 · 1 comment
Labels

Comments

@siuangie91
Copy link
Owner

siuangie91 commented Dec 15, 2022

SvelteKit 1.0 was just released. This app is still on the beta version.

Before migrating to 1.0, need to update to the last one before 1.0. Probably should do an npm install --save-exact for all of these.

1. Lock in current version so that main uses the exact version.

Update package.json so that npm install installs the exact version it's on right now, and not next.

"@sveltejs/adapter-auto": "next",

"@sveltejs/kit": "next",

From package-lock.json, the exact versions are:

"node_modules/@sveltejs/adapter-auto": {
"version": "1.0.0-next.55",

"node_modules/@sveltejs/kit": {
"version": "1.0.0-next.367",

2. Upgrade to 1.0.0-next.588.

  1. Upgrade to @sveltejs/[email protected].
  2. Make sure errors are resolved and app works.
  3. Repeat with @sveltejs/[email protected].

Full details in sveltejs/kit#5774.


Migration to 1.0 will be done in #96

@siuangie91 siuangie91 changed the title Change package.json to reference currently used version of Svelte Kit Update SvelteKit version to @sveltejs/[email protected] Dec 15, 2022
@siuangie91 siuangie91 changed the title Update SvelteKit version to @sveltejs/[email protected] Update SvelteKit version to 1.0.0-next.588 to prep for migration to 1.0 Dec 15, 2022
@siuangie91 siuangie91 assigned siuangie91 and unassigned siuangie91 Dec 16, 2022
@siuangie91
Copy link
Owner Author

Issue after bumping to 1.0.0.next.405

Running into error where app won't build after running npx svelte-migrate routes. No @migration errors found.

Attempted in #98.

404 happening on all routes

/

Not found: /
Error: Not found: /
    at resolve (svelte-pokedex/.svelte-kit/runtime/server/index.js:3523:14)
    at processTicksAndRejections (node:internal/process/task_queues:96:5)
    at async respond (svelte-pokedex/.svelte-kit/runtime/server/index.js:3402:20)
    at async svelte-pokedex/node_modules/@sveltejs/kit/dist/vite.js:1539:22

/pokemon/:name

Not found: /pokemon/leafeon
Error: Not found: /pokemon/leafeon
    at resolve (file://svelte-pokedex/.svelte-kit/runtime/server/index.js:3523:14)
    at processTicksAndRejections (node:internal/process/task_queues:96:5)
    at async respond (svelte-pokedex/.svelte-kit/runtime/server/index.js:3402:20)
    at async svelte-pokedex/node_modules/@sveltejs/kit/dist/vite.js:1539:22

@siuangie91 siuangie91 added bug Something isn't working and removed bug Something isn't working labels Dec 16, 2022
@siuangie91 siuangie91 moved this to Blocked in Svelte Pokedex Dec 16, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
Status: Blocked
Development

No branches or pull requests

1 participant