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

incompatible with bun (or bun is incompatible) #10371

Open
NullVoxPopuli opened this issue Sep 12, 2023 · 0 comments
Open

incompatible with bun (or bun is incompatible) #10371

NullVoxPopuli opened this issue Sep 12, 2023 · 0 comments

Comments

@NullVoxPopuli
Copy link
Contributor

  1. make a new app
  2. bun install
  3. bun --bun node_modules/.bin/ember
  4. error

Reported in more detail here: oven-sh/bun#5121

The main thing I don't understand is how the willInterruptProcess function works.
I don't see options.process assigned anywhere?

  capture(outerProcess) {
    if (_process) {
      throw new Error(`process already captured at: \n\n${_processCapturedLocation.stack}`);
    }

    if (outerProcess instanceof EventEmitter === false) {
      throw new Error('attempt to capture bad process instance');
    }

called from here: https://github.com/ember-cli/ember-cli/blob/master/lib/cli/index.js#L52

the global process is not an instanceof EventEmitter

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

1 participant