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

Sequelize fails with "Cannot read property 'setMaxListeners' of undefined" #143

Open
blakebyrnes opened this issue Jun 16, 2017 · 3 comments
Open

Comments

@blakebyrnes
Copy link

@blakebyrnes blakebyrnes commented Jun 16, 2017

Just tried installing the client (3.12.2) with our app, and it's crashing trying to do sql queries. Sequelize is version 3.30.4, Mysql is version 2.13.0.

TypeError: Cannot read property 'setMaxListeners' of undefined
at [...] node_modules/sequelize/lib/dialects/mysql/query.js:53:7
at Promise.cancellationExecute [as _execute] ([...] node_modules/bluebird/js/release/debuggability.js:321:9)
at Promise._resolveFromExecutor ([...] bluebird/js/release/promise.js:483:18)
at new Promise ([...] node_modules/bluebird/js/release/promise.js:79:10)

@gergelyke
Copy link
Collaborator

@gergelyke gergelyke commented Jun 28, 2017

Hey,
can you help us what Node.js version are you using?

@blakebyrnes
Copy link
Author

@blakebyrnes blakebyrnes commented Jun 28, 2017

Sure, we're on 6.2.2

@blakebyrnes
Copy link
Author

@blakebyrnes blakebyrnes commented Jun 28, 2017

Oops, didn't mean to close this.

@blakebyrnes blakebyrnes reopened this Jun 28, 2017
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Linked pull requests

Successfully merging a pull request may close this issue.

None yet
2 participants
You can’t perform that action at this time.