Replies: 2 comments 7 replies
-
Are you running the command literally how you showed it? If so, your slash character is different in the first and second example (one is a forward slash
|
Beta Was this translation helpful? Give feedback.
7 replies
-
Hi! You can check this points:
- Have you download from the terminal: yarn add dotenv
- At the beginning of hardhat.config.js did you import
this: require(”dotenv”).config();
- Do you have another file call .env.
- Inside should be: PRIVATE_KEY= 123456789
- That .env file is in the same "area" that the others files (if you have a
doubt please show us all the files you have listed)
El jue, 9 jun 2022 a las 7:47, AjayAsnani ***@***.***>)
escribió:
… [image: key]
<https://user-images.githubusercontent.com/101942594/172829498-3f5ccaf2-8b71-4ef8-b62d-03b5f55603e3.png>
It shows my private key is undefined @javierdash
<https://github.com/javierdash> @cymatic9 <https://github.com/cymatic9>
can you help me with this?
—
Reply to this email directly, view it on GitHub
<#98 (comment)>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/ATXP3XF2CI3SRQZLCGG2G2TVOHDVLANCNFSM5XV3JURA>
.
You are receiving this because you were mentioned.Message ID:
<smartcontractkit/full-blockchain-solidity-course-js/repo-discussions/98/comments/2912607
@github.com>
|
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
-
Hi All!
I am running into trouble when i tried the command:
yarn hardhat run scripts/deploy.js
in lesson 6 "Hardhat Simple Storage"I am getting this error:
If i run
npx hardhat run scripts/deploy.js
(npx instead of yarn) all works fine!Does someone have an idea??
thanks!
Beta Was this translation helpful? Give feedback.
All reactions