Skip to content

(Solved) Lesson 5: ReferenceError: ProcessingInstruction is not defined #389

Answered by alymurtazamemon
rayb0y asked this question in Q&A
Discussion options

You must be logged in to vote

@rayb0y

it is process.exit(0); not this ProcessingInstruction.exit(0)

main()
  .then(() => process.exit(0))
  .catch((error) => {
    console.error(error);
    process.exit(1);
  });

Replies: 1 comment

Comment options

You must be logged in to vote
0 replies
Answer selected by rayb0y
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants