Your browser does not seem to support JavaScript. As a result, your viewing experience will be diminished, and you have been placed in read-only mode.
Please download a browser that supports JavaScript, or enable it if it's disabled (i.e. NoScript).
With the help of another User on Github we found out what was causing the error! It was the sudo, that I mistakenly used to execute the script. Running the install as pi was the solution.
Hope this will help someone with the same problem. :)