Do you see all the plugins that do not start with https://github.com/discourse? You need to comment those out by putting a # at the beginning of the line.
Then rebuild and see that it works.
After that, you can uncomment them one at a time.
But you should probably do what @falco said instead.