I try and run npx hardhat ignition deploy ignition/modules/myModule.js --network localhost

get Error HH303: Unrecognized task 'ignition'

I'm on 2.22.3 for hardhat versions... so no idea


1 Answer 1


add this in you hardhat.config file

import "@nomicfoundation/hardhat-ignition";

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Not the answer you're looking for? Browse other questions tagged or ask your own question.