Ok so i wiped my entire computer and reinstalled linux just to clear everything. Then i started from scratch and installed all the things and followed the documentation. When i ran setupDevelopmentEnvironment, after about 45 minutes i got an error saying:
(i started a few lines before)