• Register
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
11 views
What are exit codes in Node.js? Give some exit codes name in node.js.
asked Aug 14 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 by ranju_12 (1,740 points)
...