Yarn Setup a Project Error #5982
Unanswered
EngAbdalrhman
asked this question in
Q&A
Replies: 1 comment 1 reply
-
1- install new hardhat project yarn add hardhat 2- then, initialize the project
3- after that, you need to install the dependencies |
Beta Was this translation helpful? Give feedback.
1 reply
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.
-
tried to run
yarn add --dev hardhat
and it gives me an error
Usage Error: No project found in /C:/Users/UserName/fundme_solidity_js_fcc
so I used
yarn init
first to initialize a project and it started creating some files after that I usedyarn hardhat
to create a hardhat project but no node_module folder was created, it also hadn't let me choose if I want it basic or advanced.after that i go
yarn add --dev @chainlink/contracts
and it gives me warningin the end, I run
yarn hardhat compile
and it gives me that error
I tried also
yarn install
to add yarn files at the end but nothing happenedI find a cache folder inside the yarn folder and it contains the downloaded packages as .zip extension
so can anyone help?
Beta Was this translation helpful? Give feedback.
All reactions