Hi filip
I was able to successfully compile everything, when you did the HelloWorld version 0.5.12 last year. No issues at all. I went back again using different version. Here is what I did. I downloaded ganache v2.5.2, uninstalled old truffle version and I did only npm install -g truffle.
I entered the source code in Atom below but using pragma solidity 0.7.5;
https://github.com/filipmartinsson/solidity-201/blob/master/Helloworld-code/contracts/Helloworld.sol
Also I changed truffle-config.js’s version: “0.7.5”
Now when I issued the truffle compile from the terminal, I got this error:
TypeError: Cannot read property ‘imports’ of undefined
at Object. (C:\Users\jojop\AppData\Roaming\npm\node_modules\truffle\build\webpack:\packages\compile-common\dist\src\profiler\requiredSources.js:98:1)
at Generator.next ()
at fulfilled (C:\Users\jojop\AppData\Roaming\npm\node_modules\truffle\build\webpack:\packages\compile-common\dist\src\profiler\requiredSources.js:5:42)
Truffle v5.1.66 (core: 5.1.66)
Node v12.18.2
Any help would be greatly appreciated.