Getting `No contract deployed` error
AAYUSH-GUPTA-coder opened this issue · comments
Aayush Gupta commented
Stefan Merdian commented
Open your terminal and run the command "sudo apt-get install jq."
Than run it again.
The script likely uses jq to parse JSON data, such as contract deployment details, from a file or API response. Without jq, the script can't read the required information, leading to the "No contract deployed" error.
So basically, if you don't have installed jq, the function
DevOpsTools.get_most_recent_deployment()
cant parse the JSON file.
Nishant Jain commented
windows users can use chocolatey to install jq
- Run powershell or git bash as administrator and run this command
choco install jq
the-first-elder commented
Linux users can use
sudo apt-get install jq
Joan Gaztelu commented
Same issue appeared working on a MAC
brew install jq