You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Using Webpack minimization causes an error when running an "await query"
Error: Received packet in the wrong sequence
(This is mentioned under the npm mysql module issues: mysqljs/mysql#1655)
It has a workaround (disable mangling of function names):
optimization: {minimizer: [newTerserPlugin({terserOptions: {mangle: false}})]// false otherwise mysql promises blow up with "PROTOCOL_INCORRECT_PACKET_SEQUENCE"}