Solidity Compilation Error: Invalid Callback Object Specified
I faced this problem recently and I didn't find any solution easily. So, I decided to create this video. This is mostly due to the change in how .compile function used to work. In older versions, solc.complile(source_path, number_of_contracts) was used, but in recent versions .compile takes JSON object as input and returns a JSON object as output as well.
Using the compiler: https://docs.soliditylang.org/en/v0.4...