Lesson 7: Hardhat-fund-me error: No Contract deployed with name FundMeWithLibrary #5224
-
Overview:I am trying to run yarn run v1.22.19
warning package.json: No license field
$ /home/mightguy/hh-1/hardhat-fund-me/node_modules/.bin/hardhat test
FundMeWithLibrary
constructor
1) "before each" hook for "Sets the aggregator addresses correctly"
0 passing (876ms)
1 failing
1) FundMeWithLibrary
"before each" hook for "Sets the aggregator addresses correctly":
Error: No Contract deployed with name FundMeWithLibrary
at Object.getContract (node_modules/@nomiclabs/hardhat-ethers/src/internal/helpers.ts:447:11)
at processTicksAndRejections (node:internal/process/task_queues:95:5)
at runNextTicks (node:internal/process/task_queues:64:3)
at listOnTimeout (node:internal/timers:538:9)
at processTimers (node:internal/timers:512:7)
at Context.<anonymous> (test/unit/FundMe.test.js:17:14)
error Command failed with exit code 1.
info Visit https://yarnpkg.com/en/docs/cli/run for documentation about this command. I have looked into similar issues for references before creating this post, but it didn't solved the issue. Here is the repo link of mine: https://github.com/Jatinkkalra/hardhat-fund-me File name in artifacts folder: If anyone can help me with this, it would be greatly appreciated. Thank you! |
Beta Was this translation helpful? Give feedback.
Answered by
Nlferu
Apr 3, 2023
Replies: 1 comment 6 replies
-
Hello @Jatinkkalra In your deploy script just change below: From: module.exports.tags = ["all, fundMe"]; Into: module.exports.tags = ["all", "fundMe"]; |
Beta Was this translation helpful? Give feedback.
6 replies
Answer selected by
Jatinkkalra
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Hello @Jatinkkalra
In your deploy script just change below:
From:
Into: