I encounter an error when i run npm run dev
with my project…
This error appeared overnight, i’ve tried to rollback my code with old good version, change my nodejs version, run it vm but nothing change.
Error that showed is :
SvelteKitError: Not found: /@id/__x00__virtual:__sveltekit/paths
at resolve (C:[email protected]:530:13)
at resolve (C:[email protected]:330:5)
at passedHandle (file:///C:/wamp64/www/blog/node_modules/svelte-kit-cookie-session/handle.js:2:85)
at Object.handle (file:///C:/wamp64/www/blog/node_modules/svelte-kit-cookie-session/handle.js:7:32)
at async Module.respond (C:[email protected]:327:20)
at async file:///C:/wamp64/www/blog/node_modules/@sveltejs/kit/src/exports/vite/dev/index.js:524:22 {
status: 404,
text: 'Not Found'
}
SvelteKitError: Not found: /@id/__x00__virtual:__sveltekit/environment
at resolve (C:[email protected]:530:13)
at resolve (C:[email protected]:330:5)
at passedHandle (file:///C:/wamp64/www/blog/node_modules/svelte-kit-cookie-session/handle.js:2:85)
at Object.handle (file:///C:/wamp64/www/blog/node_modules/svelte-kit-cookie-session/handle.js:7:32)
at async Module.respond (C:[email protected]:327:20)
at async file:///C:/wamp64/www/blog/node_modules/@sveltejs/kit/src/exports/vite/dev/index.js:524:22 {
status: 404,
text: 'Not Found'
}
You can find my code here : https://github.com/LRoffic/Sveltekit-errors
Don’t forget forget to init database (look the README on github)
I don’t know where this error from, i litteraly changed nothing before that it comes