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) / ~

.
Menu