Webpack 4: Target: NodeJS. Mode: production; MySQL Error: Received packet in the wrong sequence
问题 Just upgraded to Webpack 4 and when building my server side code with mode:'production' .I get this MySQL Error: Received packet in the wrong sequence. How can you prevent such mangling from happening? 回答1: I have faced the same problem when bundling with web pack. at last i have solved the issue. i think it is an issue related to web-pack and babel-loader version mismatch. i suggest following combinations in package.json "babel-core": "^6.26.0", "babel-loader": "^7.1.2", "babel-plugin