Skip to content

LESSON #5 referenceError: Process is not defined #3169

Answered by RoboCrypter
tanzeelurehman asked this question in Q&A
Discussion options

You must be logged in to vote

@tanzeelurehman : Correct the mistake in the part, I'm listing below,

From : Process To : process

In this part of your code :

From this :

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

To this :

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

It should resolve your issue!

Replies: 3 comments

Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
0 replies
Answer selected by alymurtazamemon
Comment options

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