You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I get the below error after refreshing the page in the browser. Below is an image of the error shown in the browser.
The error occurs when I refresh the page while running with vscode and "pnpm run dev"
The error does not occur in production/preview mode OR when hosted on Versel.
The error suggests that the CSS file is missing, but there is no separate CSS file for the page, it's only inline CSS.
npm i
npm run dev
Click the Exercises link and then refresh the page.
Logs
Internal server error: Failed to load url /src/routes/Exercises/Nested%20components/+page.svelte?svelte=&type=style&lang.css=&inline= (resolved id: /src/routes/Exercises/Nested%20components/+page.svelte?svelte&type=style&lang.css). Does the file exist?
at loadAndTransform (file:///C:/Sourcecode/Svelte/learnSvelte/node_modules/.pnpm/[email protected]_@[email protected]/node_modules/vite/dist/node/chunks/dep-a178814b.js:53325:21)
if you read the error closly you can see that sveltekit changing your import url from import testCSS from './test.css?url' to import testCSS from './test.css?url=&inline=' the additional &inline query creates the whole error I tried it with a plain vite project and that change triggered it i wander why sveltekit is Modifying the url
Describe the bug
I get the below error after refreshing the page in the browser. Below is an image of the error shown in the browser.
The error occurs when I refresh the page while running with vscode and "pnpm run dev"
The error does not occur in production/preview mode OR when hosted on Versel.
The error suggests that the CSS file is missing, but there is no separate CSS file for the page, it's only inline CSS.
Reproduction
The code is available here
npm i
npm run dev
Click the Exercises link and then refresh the page.
Logs
System Info
Severity
annoyance
Additional Information
My guess is #9894 will resolve this i.e. #9923.
The text was updated successfully, but these errors were encountered: