mysqljs/mysql

NodeJs API + Webpack 2 Production Builds = Error: Received packet in the wrong sequence

Open

#1655 opened on Mar 2, 2017

View on GitHub
 (22 comments) (4 reactions) (0 assignees)JavaScript (18,137 stars) (2,502 forks)batch import
help wanted

Description

Hey - I love this module, thanks. I would love to use it in a nodeJs Api we are building, however I am running into an {odd?} issue where I am unable to move my code into a production environment. Every time I compile with webpack without setting devtool="eval" causes any attempt to make a connection result in an Error: Received packet in the wrong sequence. My understanding is the devtool option controls if and how Source maps are generated from the compile process. I am not sure why exactly this would effect the execution of code, no errors result from actual compiling. Would love to know if there is some setting I am missing or way to get this working. Thanks

Contributor guide