Friday 17 August 2018

Server not starting, says "[nodemon] app crashed - waiting for file changes before starting..."

Forgive me as I'm new to this. Trying to run a server and when I do, I get this error output./Users/username/Sites/project-folder/project-api/node_modules/logform/colorize.js:73 return colors[Colorizer.allColors[lookup]](message); ^ TypeError: colors[Colorizer.allColors[lookup]] is not a function at Colorizer.colorize (/Users/username/Sites/project-folder/project-api/node_modules/logform/colorize.js:73:49) at Colorizer.transform (/Users/username/Sites/project-folder/project-api/node_modules/logform/colorize.js:94:25) at Object.exports.log (/Users/username/Sites/project-folder/project-api/node_modules/winston-compat/index.js:174:20) at DailyRotateFile.log (/Users/username/Sites/project-folder/project-api/node_modules/winston-daily-rotate-file/daily-rotate-file.js:123:29) at DailyRotateFile.Transport.logException (/Users/username/Sites/project-folder/project-api/node_modules/winston-compat/lib/transport.js:134:8) at logAndWait (/Users/username/Sites/project-folder/project-api/node_modules/winston/lib/winston/logger.js:649:15) at /Users/username/Sites/project-folder/project-api/node_modules/winston/node_modules/async/lib/async.js:157:13 at _each (/Users/username/Sites/project-folder/project-api/node_modules/winston/node_modules/async/lib/async.js:57:9) at Object.async.each (/Users/username/Sites/project-folder/project-api/node_modules/winston/node_modules/async/lib/async.js:156:9) at exports.Logger.Logger._uncaughtException (/Users/username/Sites/project-folder/project-api/node_modules/winston/lib/winston/logger.js:672:9) at process.emit (events.js:182:13) at process._fatalException (internal/bootstrap/node.js:472:27) [nodemon] app crashed - waiting for file changes before starting... Would any/all of these scripts be a cause for the crash? Or is it most likely the fatal exception at the end? Having a hell of a time debugging.Thanks in advance!

Submitted August 18, 2018 at 02:19AM by Mike

No comments:

Post a Comment