I'm taking a course and trying to run a file called 3_Ballot.sol. I'm getting this error:
"You have not set a script to run. Set it with @custom:dev-run-script NatSpec tag."
I've been researching for hours, and I'm trying to run this tag at the beginning, with no luck:
/**
* @title Ballot
* @dev Contract for conducting a ballot
*/
I've also tried this:
/**
* @title ContractName
* @dev ContractDescription
* @custom:dev-run-script scripts/deploy_with_ethers.ts
*/
I'm running pragma solidity ^0.4.17
, with the compiler set accordingly. I've tried 0.8.24, 0.7.0,
and a few others.
A few times, for no apparent reason, I got a different error saying:
"running file_path ...
file_path does not exist."
There doesn't seem to be a place for me to set the file path in the remix ide, or if there is, it eludes me.
I'm in the default remix setup. The file I'm working on is in the contracts directory. I was working on the same file last week with no issues.
Any help would be very much appreciated!
You have not set a script to run. Set it with @custom:dev-run-script NatSpec tag.