mysqljs/mysql

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

Open

#1,655 创建于 2017年3月2日

在 GitHub 查看
 (22 评论) (4 反应) (0 负责人)JavaScript (18,137 star) (2,502 fork)batch import
help wanted

描述

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

贡献者指南