I want to use the mysql package with webpack, and I always get the error
Error: Received packet in the wrong sequence.
I have read these posts:
- "Uncaught Error: Received packet in the wrong sequence" with devtools off - Electron + MySQL node driver + Webpack
- Webpack 4: Target: NodeJS. Mode: production; MySQL Error: Received packet in the wrong sequence
- serverless framework, typescript, nodejs and mysql - Error: Received packet in the wrong sequence
But in my case nothing helped.
I am using nuxt.js and I have tried the mangle trick UglifyjsWebpackPlugin
and also tried to switch between modes, but nothing helped.
Is there anyone who has experienced something similar and knows how to solve it?
Cheers