Builds never exits AND `emitter.prependListener is not a function` is thrown
See original GitHub issueSince #438 and #441 have been closed, but this issue persists and involves both…
Win 10 x64, atom 1.12.0-beta3
I’ve uninstalled sync-settings
and atom-beautify
and restarted atom, and I’m still getting the Failed to build: emitter.prependListener is not a function
error message when building. I don’t find emitter.prependListener
being referenced in any other package which I have installed[1].
The build “works” with an .atom-build.yml
which contains only cmd: echo Hello world
in the root of the project (i.e. prints Hello world
), but runs indefinitely after that, and I have to restart atom to attempt to build again.
No errors in the console. Nothing in the console, actually.
[1] There may be an atom core package which pulls in emitter.prependListener
in some way, but I don’t have the time to grep through all of their sources (although I did search atom itself).
Issue Analytics
- State:
- Created 7 years ago
- Comments:14 (6 by maintainers)
Top GitHub Comments
I’m also having this error. I just updated and managed to catch a stack trace (the notification only gives you a few seconds to do so)
It’s difficult since I never get the error and have no way of reproducing…
Could you try adding something like
this.terminal.prependListener = () => { console.log('listener prepended') }
at https://github.com/noseglid/atom-build/blob/master/lib/build-view.js#L45, then check the logs and see if you get the ‘listener prepended’ message. This is my best theory at the moment and this could verify/discredit that.