The Node service will exit automatically when there is an error, and the error message will not be printed.

Node service automatically exits when there is an error, and the error message is not printed. For example, I commented out a line of code:

   


Please give me a more complete code. First, define what an "error" is. An "error" is an uncaught exception (Uncaught Exception), or an error that is caught but cannot be handled, and the latter should print out the relevant error message in the log or in the console for debug.

the code you gave is not informative enough. Have you manually modified server.js ? You can compare the server.js of the two projects, just one step at a time.


found the reason, because it refers to the log processing file of the previous project, which uses the winston module, and then installs the wrong version of / (uploo calendar) / ~

.
MySQL Query : SELECT * FROM `codeshelper`.`v9_news` WHERE status=99 AND catid='6' ORDER BY rand() LIMIT 5
MySQL Error : Disk full (/tmp/#sql-temptable-64f5-1e3c38f-6603a.MAI); waiting for someone to free some space... (errno: 28 "No space left on device")
MySQL Errno : 1021
Message : Disk full (/tmp/#sql-temptable-64f5-1e3c38f-6603a.MAI); waiting for someone to free some space... (errno: 28 "No space left on device")
Need Help?