NodeJS running on Mac, and have an error occurred when deploying on centOS
问题 I have a project with Node.js and MySQL. This project run well on local MAC osx. But have an error occurred when deploying on the centOS server. The project have 2 part, 1 is auto run with cron, that auto get data from one web, and update this data into MySQL. This part works fine on both local and online server. But another part is not, that part is display UI on browser, but when accessing it, an error is displayed. Error: Cannot enqueue Query after fatal error. at Protocol._validateEnqueue