LESSON #5 referenceError: Process is not defined #3169
-
onst ethers=require("ethers"); const currentFavoriteNumber=await contract.retrieve();
|
Beta Was this translation helpful? Give feedback.
Replies: 3 comments
-
Terminal please |
Beta Was this translation helpful? Give feedback.
-
@tanzeelurehman : Correct the mistake in the part, I'm listing below, From : In this part of your code :From this :
To this :
It should resolve your issue! |
Beta Was this translation helpful? Give feedback.
-
Thanks it's fixed it
…On Mon, Oct 10, 2022, 3:31 AM M.Siddique ***@***.***> wrote:
@tanzeelurehman <https://github.com/tanzeelurehman> : *Correct* this
*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!
—
Reply to this email directly, view it on GitHub
<#3169 (comment)>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/ANQKOY6DKR3IRHZSDOLP2STWCNBSJANCNFSM6AAAAAARASLRYE>
.
You are receiving this because you were mentioned.Message ID:
<smartcontractkit/full-blockchain-solidity-course-js/repo-discussions/3169/comments/3835157
@github.com>
|
Beta Was this translation helpful? Give feedback.
@tanzeelurehman : Correct the mistake in the part, I'm listing below,
From :
Process
To :process
In this part of your code :
From this :
To this :
It should resolve your issue!