Skip to content

incompatible with bun (or bun is incompatible) #10371

@NullVoxPopuli

Description

@NullVoxPopuli
  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

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions