Skip to content
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 #1339

Closed
AlexRMU opened this issue Nov 8, 2022 · 1 comment
Closed

The problem with the order in mongoose #1339

AlexRMU opened this issue Nov 8, 2022 · 1 comment

Comments

@AlexRMU
Copy link

AlexRMU commented Nov 8, 2022

  • Rollup Plugin Name: plugin-node-resolve/plugin-commonjs/rollup itself
  • Rollup Plugin Version:
"@rollup/plugin-commonjs": "^23.0.2",
"@rollup/plugin-node-resolve": "^15.0.1",

Expected Behavior

The build is created successfully and ran successfully.

Actual Behavior

The build is created successfully but does not run.

Additional Information

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 one of the plugins or in rollup.
How the build is created: https://github.com/sveltejs/kit/blob/master/packages/adapter-node/index.js#L55-L68.

@shellscape
Copy link
Collaborator

Thanks for opening an issue. Citing the issue template:

🚨 Issues WITHOUT a valid reproduction WILL BE CLOSED!

Please provide one by:

  1. Using the REPL.it plugin reproduction template at https://repl.it/@rollup/rollup-plugin-repro
  2. Provide a minimal repository link (Read https://git.io/fNzHA for instructions).
    Please use NPM for installing dependencies!
    These may take more time to triage than the other options.
  3. Using the Rollup REPL at https://rollupjs.org/repl/

⚠️ ZIP Files are unsafe and maintainers will NOT download them.

We cannot make this any clearer. Please add a reproduction and we'll be happy to triage further.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants