-
-
Notifications
You must be signed in to change notification settings - Fork 1.9k
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
Strange error when run dev #13019
Comments
We need a reproduction, or there's nothing we can investigate. |
Ok... I try to find a solution, but i don't know how is it appear... My dev mode worked (and restarted one time before closed) and the next day, without any manipulation from me, got this error... I don't really know how i can give you reproduction instructions... If you have any ideas ?? |
I uploaded my code : https://github.com/LRoffic/Sveltekit-errors |
I could not reproduce the issue using the given repository. Please upload a minimal reproduction. These are the errors logs I get when I run the development server: 3:18:47 PM [vite] Error when evaluating SSR module /src/lib/server/controllers/initDB.js:
|- Error: Dialect needs to be explicitly supplied as of v4.0.0
at new Sequelize (/home/chewteeming/github/Sveltekit-errors/node_modules/.pnpm/[email protected][email protected]/node_modules/sequelize/lib/sequelize.js:136:13)
at /home/chewteeming/github/Sveltekit-errors/src/lib/server/controllers/initDB.js:9:17
at async instantiateModule (file:///home/chewteeming/github/Sveltekit-errors/node_modules/.pnpm/[email protected]_@[email protected][email protected][email protected]/node_modules/vite/dist/node/chunks/dep-CB_7IfJ-.js:52972:5)
3:18:47 PM [vite] Error when evaluating SSR module /src/lib/server/controllers/ArticleController.js:
|- Error: Dialect needs to be explicitly supplied as of v4.0.0
at new Sequelize (/home/chewteeming/github/Sveltekit-errors/node_modules/.pnpm/[email protected][email protected]/node_modules/sequelize/lib/sequelize.js:136:13)
at /home/chewteeming/github/Sveltekit-errors/src/lib/server/controllers/initDB.js:9:17
at async instantiateModule (file:///home/chewteeming/github/Sveltekit-errors/node_modules/.pnpm/[email protected]_@[email protected][email protected][email protected]/node_modules/vite/dist/node/chunks/dep-CB_7IfJ-.js:52972:5)
3:18:47 PM [vite] Error when evaluating SSR module /src/routes/+page.server.js:
|- Error: Dialect needs to be explicitly supplied as of v4.0.0
at new Sequelize (/home/chewteeming/github/Sveltekit-errors/node_modules/.pnpm/[email protected][email protected]/node_modules/sequelize/lib/sequelize.js:136:13)
at /home/chewteeming/github/Sveltekit-errors/src/lib/server/controllers/initDB.js:9:17
at async instantiateModule (file:///home/chewteeming/github/Sveltekit-errors/node_modules/.pnpm/[email protected]_@[email protected][email protected][email protected]/node_modules/vite/dist/node/chunks/dep-CB_7IfJ-.js:52972:5)
Error: Dialect needs to be explicitly supplied as of v4.0.0
at new Sequelize (/home/chewteeming/github/Sveltekit-errors/node_modules/.pnpm/[email protected][email protected]/node_modules/sequelize/lib/sequelize.js:136:13)
at /home/chewteeming/github/Sveltekit-errors/src/lib/server/controllers/initDB.js:9:17
at async instantiateModule (file:///home/chewteeming/github/Sveltekit-errors/node_modules/.pnpm/[email protected]_@[email protected][email protected][email protected]/node_modules/vite/dist/node/chunks/dep-CB_7IfJ-.js:52972:5)
Error: Dialect needs to be explicitly supplied as of v4.0.0
at new Sequelize (/home/chewteeming/github/Sveltekit-errors/node_modules/.pnpm/[email protected][email protected]/node_modules/sequelize/lib/sequelize.js:136:13)
at /home/chewteeming/github/Sveltekit-errors/src/lib/server/controllers/initDB.js:9:17
at async instantiateModule (file:///home/chewteeming/github/Sveltekit-errors/node_modules/.pnpm/[email protected]_@[email protected][email protected][email protected]/node_modules/vite/dist/node/chunks/dep-CB_7IfJ-.js:52972:5) |
Did you config the database ? To install database use the database.sql, then go on src/lib/server/config/ and edit db_config.json |
Describe the bug
I meet a problem when i launch my dev mode. I've tried with npm and yarn but both gave me this error
I've tried to rollback my code, rollback my packages, but problem is still present...
Reproduction
I don't really know how to reproduce... i just launch npm run dev and when is fully loaded i go to my localhost:5173 then error appear...
Logs
System Info
Severity
blocking all usage of SvelteKit
Additional Information
No response
The text was updated successfully, but these errors were encountered: