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
i want add connect mysql feature base on your code.
it work fine when i run npm rum start.
but when i want build a windows app using npm run electron:windows.
and following problem is happend.
Error: Received packet in the wrong sequence.
at u._parsePacket (file:///C:/Users/Mars/AppData/Local/Temp/1VTEfjB4MFi1QQbqOIxHf4cp9sc/resources/app.asar/dist/main.434c406….js:1:281511)
at u.KBiZ.u._parsePacket (file:///C:/Users/Mars/AppData/Local/Temp/1VTEfjB4MFi1QQbqOIxHf4cp9sc/resources/app.asar/dist/main.434c406….js:1:162890)
at u.KBiZ.u.write (file:///C:/Users/Mars/AppData/Local/Temp/1VTEfjB4MFi1QQbqOIxHf4cp9sc/resources/app.asar/dist/main.434c406….js:1:157155)
It seems related to mysqljs/mysql#1548 and file optimisation (uglify) when building in production.
Try setting buildOptimizer : false and/or optimization: false in angular.json production profile (line 71 and 79). It may works. Otherwise you should overide the webpack configuration to fix the default mangling behaviour.
hi
i want add connect mysql feature base on your code.
it work fine when i run
npm rum start
.but when i want build a windows app using
npm run electron:windows
.and following problem is happend.
i add following content in package.json file
and do connection in
HomeComponent
Thanks a lot.
The text was updated successfully, but these errors were encountered: