DEV Community

Discussion on: The Complete Guide to Full Stack Ethereum and EVM Development

 
enemycnt profile image
Nikolay

Stuck with the same issue. After some deep dive into hardhat docs finally, I've found the cause.
It looks like instead

npx run scripts/deploy.js --network localhost
Enter fullscreen mode Exit fullscreen mode

should be

npx run hardhat scripts/deploy.js --network localhost
Enter fullscreen mode Exit fullscreen mode

@dabit3 could you please correct it?

Thread Thread
 
himikap profile image
Himika Prabhat

It still ain't working for me, even after making this change
Image description