ember-tooling / ember-language-server

Language Server Protocol implementation for Ember.js projects
MIT License
100 stars 39 forks source link

Something is generating a ton of error.*.logs? #410

Open NullVoxPopuli opened 1 month ago

NullVoxPopuli commented 1 month ago

I'm not sure what's going on here. image

These logs all have

node:internal/errors:540
      throw error;
      ^

TypeError [ERR_INVALID_ARG_TYPE]: The "code" argument must be of type number. Received type string ('128SIGTERM')
    at process.set [as exitCode] (node:internal/bootstrap/node:123:9)
    at ChildProcess.<anonymous> (<repo>/node_modules/foreground-child/index.js:63:22)
    at ChildProcess.emit (node:events:518:28)
    at maybeClose (node:internal/child_process:1104:16)
    at ChildProcess._handle.onexit (node:internal/child_process:304:5) {
  code: 'ERR_INVALID_ARG_TYPE'
}

Node.js v22.10.0
lifeart commented 1 month ago

woo, may it be a test-time logs? (from different processes)

lifeart commented 2 weeks ago

@NullVoxPopuli it's from here: https://github.com/ember-tooling/ember-language-server/blob/master/test/test_helpers/integration-helpers.ts#L37

We could have 2 types of text logs debug and error.