Lesson:7 Cannot find module 'dotenv' #2286
Unanswered
Shawon-Mandal
asked this question in
Q&A
Replies: 3 comments 7 replies
-
Try reinstallling the module again. Run |
Beta Was this translation helpful? Give feedback.
7 replies
-
"Cannot find module..." is either not importing the package, or not having the package installed. In this case--assuming you have the dependency in your package.json already--running |
Beta Was this translation helpful? Give feedback.
0 replies
-
@Shawon-Mandal |
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.
-
While setting up hardhat I selected "Create a javascript project"
And now when I try to run command "yarn hardhat" I get this error:"Error: Cannot find module 'dotenv' "
Beta Was this translation helpful? Give feedback.
All reactions