-
Notifications
You must be signed in to change notification settings - Fork 39
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
Error Fetching PageData during Client-Side Route Transition #29
Comments
What was the solution? |
I actually don't know, When I created a new project using This down bellow is a example code from the demo app that works. 🤔 |
It was a problem with a datatype that was returnered, It was a 'Invalid date' (Error) that was accidently returned. |
@ismail424, could you test this again? It seems it is a Bun Node compatibility error, which is likely resolved since. |
When using the Bun adapter with SvelteKit, I encounter an internal 500 error during client-side navigation (when pressing on a "a tag with href").
The error seems related to fetching PageData for that route.
It works fine if I refresh the page but when I navigate to it with client-side-navigation it gives me the error.
Steps to Reproduce:
Expected Behavior:
Additional Information:
Request URL causing the issue: http://localhost:3000/settings/__data.json?x-sveltekit-invalidated=0011
SvelteKit version: latest
Bun adapter version: 0.5.0
Error Logs:
Screenshots (if applicable):
![Screenshot_20230916_223517](https://private-user-images.githubusercontent.com/70110297/268470263-8ff20304-1c0c-4698-a8cf-6fce31905a52.png?jwt=eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJpc3MiOiJnaXRodWIuY29tIiwiYXVkIjoicmF3LmdpdGh1YnVzZXJjb250ZW50LmNvbSIsImtleSI6ImtleTUiLCJleHAiOjE3MzkzNDg3MTEsIm5iZiI6MTczOTM0ODQxMSwicGF0aCI6Ii83MDExMDI5Ny8yNjg0NzAyNjMtOGZmMjAzMDQtMWMwYy00Njk4LWE4Y2YtNmZjZTMxOTA1YTUyLnBuZz9YLUFtei1BbGdvcml0aG09QVdTNC1ITUFDLVNIQTI1NiZYLUFtei1DcmVkZW50aWFsPUFLSUFWQ09EWUxTQTUzUFFLNFpBJTJGMjAyNTAyMTIlMkZ1cy1lYXN0LTElMkZzMyUyRmF3czRfcmVxdWVzdCZYLUFtei1EYXRlPTIwMjUwMjEyVDA4MjAxMVomWC1BbXotRXhwaXJlcz0zMDAmWC1BbXotU2lnbmF0dXJlPTA5MzYyZjhjZTQ0ZWFlMjA0MzUzMWViZTc3ZTVlMzdmZDI4OTA4MzBkZjZmYTUwMzE3YzQyNGE0YWI0MjMzNzQmWC1BbXotU2lnbmVkSGVhZGVycz1ob3N0In0.OzEYdNBPCsEKzT20U5mPCY5icib6JmL4RF24mkOasrQ)
![Screenshot_20230916_223744](https://private-user-images.githubusercontent.com/70110297/268470335-c3260553-f8f9-4f45-b446-6515996a5c84.png?jwt=eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJpc3MiOiJnaXRodWIuY29tIiwiYXVkIjoicmF3LmdpdGh1YnVzZXJjb250ZW50LmNvbSIsImtleSI6ImtleTUiLCJleHAiOjE3MzkzNDg3MTEsIm5iZiI6MTczOTM0ODQxMSwicGF0aCI6Ii83MDExMDI5Ny8yNjg0NzAzMzUtYzMyNjA1NTMtZjhmOS00ZjQ1LWI0NDYtNjUxNTk5NmE1Yzg0LnBuZz9YLUFtei1BbGdvcml0aG09QVdTNC1ITUFDLVNIQTI1NiZYLUFtei1DcmVkZW50aWFsPUFLSUFWQ09EWUxTQTUzUFFLNFpBJTJGMjAyNTAyMTIlMkZ1cy1lYXN0LTElMkZzMyUyRmF3czRfcmVxdWVzdCZYLUFtei1EYXRlPTIwMjUwMjEyVDA4MjAxMVomWC1BbXotRXhwaXJlcz0zMDAmWC1BbXotU2lnbmF0dXJlPTVhNTk5MmRjNjkxNzU4M2FlMWJmZTRiOTczNmRiYjBkNmYwMTAwOTRkOWE5ZTcxZDNlNDJkYTBmNDQ3Y2FkY2MmWC1BbXotU2lnbmVkSGVhZGVycz1ob3N0In0.nQgDByGZjNh2yAlAteWmSnJ2_agkkl7k_sUMD5GuqE4)
The text was updated successfully, but these errors were encountered: