Share:- Whatsapp Facebook Facebook

------------------------------------- Welcome to Developerhelpway Q&A, where you can ask questions and receive answers from other members of the community.

What are exit codes in Node.js

0 votes
What are exit codes in Node.js? Give some exit codes name in node.js.
asked Aug 14, 2018 in Node.js by Ruchir Pandey

1 Answer

0 votes
There are following Exit codes in node.js. It is specific codes that is used to end a “process” (a global object used to represent a node process).

Exit codes:-

0 - No errors!
1 - Fatal error
2 - Missing gruntfile error
3 - Task error
4 - Template processing error
5 - Invalid shell auto-completion rules error
6 - Warning
answered Aug 14, 2018 by ranju_12 (3,740 points)