I get this error in SharePoint 2016 when I run below command to migrate project DB and create PWA Site Collection.Project Server is enabled.
Migrate-SPProjectDatabase -DatabaseName "PWA_UAT" -SiteCollection ***http://PWA/PWA_UAT****
Did you create a Project Server Service Application and validate that a Project Server Service Instance is started on one or more SharePoint servers (if using defined MinRole (not Custom), after creating the PS SA, the instance should autostart on one or more servers).
This error got resolved. My server role was 'Front-end' server role.