hardhat.config.js file setup deploys complete vscode explorer directory paths in terminal output. #4780
-
Why is it that when I' add the line below 'defaultNetwork: 'hardhat', After "yarn hardhat deploy", the terminal outputs the errors in additio to 100s of line of directory paths as seen below. WTF is goin on here ?
OUTPUT ..... 100 lines later VSCODE_GIT_ASKPASS_MAIN: 'c:\Users\paulc\AppData\Local\Programs\Microsoft VS Code\resources\app\extensions\git\dist\askpass-main.js',
To learn more about Hardhat's configuration, please go to https://hardhat.org/config/ For more info go to https://hardhat.org/HH8 or run Hardhat with --show-stack-traces |
Beta Was this translation helpful? Give feedback.
Replies: 2 comments 6 replies
-
Hi @paulcoffee85, |
Beta Was this translation helpful? Give feedback.
-
@paulcoffee85 It looks like the hardhat.config.js file is not able to read env file variables. Make sure to console log env variable at the start of the hardhat config file to verify their values before proceeding further. |
Beta Was this translation helpful? Give feedback.
@paulcoffee85 It looks like the hardhat.config.js file is not able to read env file variables. Make sure to console log env variable at the start of the hardhat config file to verify their values before proceeding further.