question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Sequelize broken with v2.3.1

See original GitHub issue

Hello,

Long-time user of sequelize + mysql2 here. Our build starts to fail when upgrading to v2.3.1 of your library. I didn’t investigate deeply yet but the error we’re getting is

SequelizeDatabaseError: Cannot read property 'parse' of undefined
  at Query.formatError (node_modules/sequelize/lib/dialects/mysql/query.js:265:16)
  at Query.run (node_modules/sequelize/lib/dialects/mysql/query.js:77:18)

I can also open an issue there if you feel the issue is on their side, but you released a minor version wich isn’t supposed to contain breaking changes.

I can provide logs, reproduction repo, anything you’d need to debug.

Cheers, David

Issue Analytics

  • State:closed
  • Created 2 years ago
  • Reactions:4
  • Comments:22 (11 by maintainers)

github_iconTop GitHub Comments

1reaction
ddolcimascolocommented, Oct 15, 2021

Hi @sidorares

On a side note, deprecating the version on npm would be a great move forward too. Automated dependency upgrades are spreading in user’s repositories…

Cheers, David

0reactions
testncommented, Nov 10, 2021

@sidorares let’s close this?

Read more comments on GitHub >

github_iconTop Results From Across the Web

NODE CRASHING BUG => Broken NPM Module #4878 - GitHub
The bluebird module required by sequelize version number 3.13.0 causes a node cascade failure on the entire application stack.
Read more >
Sequelize Versioning Policy
Sequelize Versioning Policy. Sequelize follows semantic versioning (semver) principles. Learn more about semver here. This page regroups information related ...
Read more >
Running npx sequelize init isn't working (Example) - Treehouse
Whenever I run npx sequelize init, it says npx: ins... ... npm WARN deprecated chokidar@2.1.8: Chokidar 2 will break on node v14+.
Read more >
Manual | Sequelize - ESDoc Hosting Service
Sequelize is a promise-based Node.js ORM for Postgres, MySQL, MariaDB, SQLite and Microsoft SQL Server. It features solid transaction support, relations, ...
Read more >
Sequelize: Concat fields in WHERE LIKE clause
You'll need something like this var criteria = { where: Sequelize.where(Sequelize.fn("concat", Sequelize.col("firstname"), Sequelize.col("lastname")), ...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found