Try:
Run with --stacktrace option to get the stack trace. Run with --info or --debug option to get more log output. Run with --scan to get full insights.
turning on verbose debug mode does not fix the error. it only give me in the console more detail about the building process.
I delete the lines which say plugins section in the build.setting file. No fix
This thread was for a particular issue 6 months ago. I doubt that whatever issue you are having is remotely related to this one. I would suggest you open a different post with the detail of your issue.