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

Solve Button on tutorial website doesn't work - Topic : Rest Parameters #1164

Open
SikandarJODD opened this issue Feb 21, 2025 · 1 comment

Comments

@SikandarJODD
Copy link

Describe the bug

Visit : https://svelte.dev/tutorial/kit/rest-params

  1. Solve button doesn't work as expected
20250221-1700-29.0866217.mp4

Solution : It should update [path] -> [...path]

Reproduction

https://svelte.dev/tutorial/kit/rest-params

Logs

System Info

Windows

Severity

annoyance

Additional Information

No response

@Conduitry Conduitry transferred this issue from sveltejs/kit Feb 21, 2025
@mootari
Copy link

mootari commented Mar 13, 2025

This only happens if clicking Solve would remove the currently selected file.

Note that the issue description is incomplete, as clicking the button logs an error to the console:

Uncaught Error: Invalid selection /src/routes/[path]/+page.svelte

A similar issue exists on https://svelte.dev/tutorial/kit/optional-params:

Uncaught Error: Invalid selection /src/routes/+page.svelte

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants