-
-
Notifications
You must be signed in to change notification settings - Fork 6.1k
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
The problem with the order in mongoose #10827
Labels
Comments
The output is not generated by Vite directly. Also there's many warning about circular dependency around mongoose from rollup. Closing as this cannot be fixed in Vite. This needs to be reported to svelte kit or rollup. |
BTW I guess moving |
👍 |
Sign up for free
to subscribe to this conversation on GitHub.
Already have an account?
Sign in.
Describe the bug
After the build, the order of some parts of the mongoose changes, which leads to errors at run.
Also see Automattic/mongoose#12335 (comment).
Most likely the problem is in Vite.
Reproduction
https://stackblitz.com/edit/sveltejs-kit-template-default-jysxco?file=src/hooks.server.js
Steps to reproduce
Run
npm i && npm run build && node build/index.js
System Info
Used Package Manager
npm
Logs
No response
Validations
The text was updated successfully, but these errors were encountered: