Error: Could not find a compiler version matching x.x.x. Please ensure you are specifying a valid version, constraint or build in the truffle config. Run `truffle compile --list` to see available versions.
sudo truffle migrate
The solution has something to do with permissions when downloading the file but the error reporting is ambiguous as it does not say there was a permissions error.