Which version of macOS were you trying to install?
Despite that "error" (which may not be an error, per se, but simply a report, knowing that the installer covers a range of different Mac models, and a range of install conditions), anyway, despite that "report" are you actually having a problem with the macOS reinstall?