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

Cannot read property 'addListener' of undefined #11

Closed
miguelmota opened this issue Jul 22, 2015 · 1 comment
Closed

Cannot read property 'addListener' of undefined #11

miguelmota opened this issue Jul 22, 2015 · 1 comment

Comments

@miguelmota
Copy link

I get the following when doing ember s

TypeError: Cannot read property 'addListener' of undefined
    at Object.exports.execFile (child_process.js:788:15)
    at Object.exports.exec (child_process.js:649:18)
    at Object.module.exports.command (/Users/moogs/Dropbox/Development/app/node_modules/ember-cli-buil
d-notifications/node_modules/node-notifier/lib/utils.js:45:13)
    at NotificationCenter.notify (/Users/moogs/Dropbox/Development/app/node_modules/ember-cli-build-no
tifications/node_modules/node-notifier/notifiers/notificationcenter.js:62:11)
    at Class.module.exports.buildError (/Users/moogs/Dropbox/Development/app/node_modules/ember-cli-bu
ild-notifications/index.js:11:14)
    at /Users/moogs/Dropbox/Development/app/node_modules/ember-cli/lib/models/builder.js:122:34
    at Array.map (native)
    at Class.module.exports.Task.extend.processAddonBuildSteps (/Users/moogs/Dropbox/Development/app/n
ode_modules/ember-cli/lib/models/builder.js:120:43)
    at Class.<anonymous> (/Users/moogs/Dropbox/Development/app/node_modules/ember-cli/lib/models/build
er.js:149:14)
    at lib$rsvp$$internal$$tryCatch (/Users/moogs/Dropbox/Development/app/node_modules/ember-cli/node_
modules/rsvp/dist/rsvp.js:489:16)
    at lib$rsvp$$internal$$invokeCallback (/Users/moogs/Dropbox/Development/app/node_modules/ember-cli
/node_modules/rsvp/dist/rsvp.js:501:17)
    at lib$rsvp$$internal$$publish (/Users/moogs/Dropbox/Development/app/node_modules/ember-cli/node_m
odules/rsvp/dist/rsvp.js:472:11)
    at lib$rsvp$$internal$$publishRejection (/Users/moogs/Dropbox/Development/app/node_modules/ember-c
li/node_modules/rsvp/dist/rsvp.js:415:7)
    at lib$rsvp$asap$$flush (/Users/moogs/Dropbox/Development/app/node_modules/ember-cli/node_modules/
rsvp/dist/rsvp.js:1290:9)
    at process._tickCallback (node.js:355:11)
events.js:85
      throw er; // Unhandled 'error' event
            ^
Error: spawn /bin/sh EMFILE
    at exports._errnoException (util.js:746:11)
    at Process.ChildProcess._handle.onexit (child_process.js:1053:32)
    at child_process.js:1144:20
    at process._tickCallback (node.js:355:11)
@pdud
Copy link
Owner

pdud commented Aug 14, 2015

Thanks for reporting!

I'd like to try help you out but I don't believe the error is in ember-cli-build-notifications.

The bottom of your trace includes Error: spawn /bin/sh EMFILE

The below seems like a relevant link w/ a solution.

sindresorhus/gulp-imagemin#10
sindresorhus/gulp-imagemin#10 (comment)

Please feel free to re-open if this link doesn't help you out :)

@pdud pdud closed this as completed Aug 14, 2015
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

2 participants