Whenever I used to deploy my smart contracts using hardhat, it worked fine. But now it always show me this error => TypeError: no matching function (argument="key", value="deployed", code=INVALID_ARGUMENT, version=6.5.1) at makeError (F:\web_3\Project

Please help if anyone knows how to resolve.

Please share the relevant code (including hardhat version and configuration).

i am facing the same error as you facing this