Open quasar0x opened 2 years ago
Advance sample project is removed from hardhat
Great! Thanks @mehedi-iitdu :)
If you face any issue regarding hardhat let me know.
Okay! I will. Thanks!! :)
Okay so I ran this code to get the older version used in the course by @PatrickAlphaC. "yarn hardhat@2.9.3", then run "yarn hardhat". The advance sample project option would be available now. :)
yarn hardhat@2.9.3
So what can we do to get all those extra dependencies patrick had from the advanced project
yarn hardhat@2.9.3
So what can we do to get all those extra dependencies patrick had from the advanced project
did u find a solution yet?
On terminal, “yarn add hardhat@2.9.3” then "yarn hardhat"
Thank
On terminal, “yarn add hardhat@2.9.3” then "yarn hardhat"
Thanks, earlier i ran this command but nothing happened, as I already installed hardhat same way shown in video. I went nuts for 1 hour. Then deleted folder and did again :P. worked
Lol, Great! You are welcome . :)
I am having some issue while installation.
Ran "yarn init" first. Then "yarn add hardhat@2.9.3" Then "yarn hardhat", it is not showing any option to select projects, instead showing this.
warning ../../package.json: No license field
$ /home//hh-fcc/hardhat-fund-me-fcc/node_modules/.bin/hardhat
Hardhat version 2.9.3
Usage: hardhat [GLOBAL OPTIONS] <TASK> [TASK OPTIONS]
GLOBAL OPTIONS:
--config A Hardhat config file.
--emoji Use emoji in messages.
--help Shows this message, or a task's help if its name is provided
--max-memory The maximum amount of memory that Hardhat can use.
--network The network to connect to.
--show-stack-traces Show stack traces.
--tsconfig A TypeScript config file.
--verbose Enables Hardhat verbose logging
--version Shows hardhat's version.
AVAILABLE TASKS:
accounts Prints the list of accounts
check Check whatever you need
clean Clears the cache and deletes all artifacts
compile Compiles the entire project, building all artifacts
console Opens a hardhat console
coverage Generates a code coverage report for tests
flatten Flattens and prints contracts and their dependencies
gas-reporter:merge
help Prints this message
node Starts a JSON-RPC server on top of Hardhat Network
run Runs a user-defined script after compiling the project
test Runs mocha tests
verify Verifies contract on Etherscan
To get help for a specific task run: npx hardhat help [task]
Done in 1.41s. ```
To get the "Advance sample project" option to show up again at lesson 7, the workaround for me was to run
npx hardhat@^2.9.3
instead of
yarn hardhat
@apuser333 This arises due to the presence of a hardhat.config.js
already in your project somewhere. Try running
yarn hardhat --verbose
This will point out the location of hardhat.config.js
. Go and delete it and try running yarn hardhat
again
Advance sample project is removed from hardhat
what the alternative so i can follow along?
Advance sample project is removed from hardhat
what the alternative so i can follow along?
just use the standard , JS project ; for extra pkgs use npm install solhint
Hey guys, I am having issues installing Hardhat v1.22.17 on my windows 10 PC.. On the terminal, when I run " yarn add --dev hardhat", it keeps installing the v1.22.15 version which is most likely outdated. @PatrickAlphaC installed Hardhat v1.22.17 at the beginning of this lesson but I seem to keep getting the old version which doesn't have the "advanced sample project" option.