Instead of receiving a warning about the refusal of the promise at compilation / start
npm start
(node:22996) UnhandledPromiseRejectionWarning: Unhandled promise rejection (rejection id: 1): SyntaxError: Unexpected identifier
can I get the whole stack trace indicating a line in my code with an error like it was in nodejs 4?
SyntaxError: /Users/user/Documents/project/app.js: Unexpected token (30:57)
source
share