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

foreman causes error on heroku local w/ null signal value #562

Closed
sdalezman opened this issue Jul 24, 2017 · 4 comments
Closed

foreman causes error on heroku local w/ null signal value #562

sdalezman opened this issue Jul 24, 2017 · 4 comments
Assignees

Comments

@sdalezman
Copy link

there's a bug in node foreman that's caused by event listeners that it passes a null signal value . i'm not sure exactly when this bug was triggered when running heroku local, but it coincided when i upgraded to node 8 (it's also possible i updated heroku at the same time).

the bug can be seen in lines 49-51 in proc.js of node-foreman. the bug occurs when signal is passed and is a null value. this is easy for me to fix locally because I can override the heroku cli node-foreman code. However my ci environment (circleci) comes packaged with the heroku toolchain and would prefer not to have fork a bunch of libs to have it work correctly.

@jdx
Copy link
Contributor

jdx commented Jul 24, 2017

hrm we may ultimately have to fork the project and maintain it ourselves if we don't see any activity there

@Komsomol
Copy link

Komsomol commented Aug 1, 2017

I have the same error occur on node v6.11.0

internal/util.js:183
  throw new errors.Error('ERR_UNKNOWN_SIGNAL', signal);
  ^

Error [ERR_UNKNOWN_SIGNAL]: Unknown signal: null
    at convertToValidSignal (internal/util.js:183:9)
    at ChildProcess.kill (internal/child_process.js:381:5)
    at EventEmitter.<anonymous> (/Users/farhad/.local/share/heroku/client/node_modules/foreman/lib/proc.js:54:11)
    at emitOne (events.js:120:20)
    at EventEmitter.emit (events.js:210:7)
    at ChildProcess.<anonymous> (/Users/farhad/.local/share/heroku/client/node_modules/foreman/lib/proc.js:50:13)
    at emitTwo (events.js:125:13)
    at ChildProcess.emit (events.js:213:7)
    at Process.ChildProcess._handle.onexit (internal/child_process.js:200:12)

@RasPhilCo
Copy link
Contributor

@RasPhilCo RasPhilCo self-assigned this Aug 2, 2017
@RasPhilCo
Copy link
Contributor

Closed via ce0aa10

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

4 participants