I'm trying to upgrade a DSpace 6.3 system to DSpace 7.1 following the installation guide on the Lyrasis wiki. When I get to step 4.a. under Frontend Installation, the response to the command "yarn config:check:rest" includes "No specific environment file found for --prod." If I ignore this response and continue to build the frontend, the resulting environment.ts does not include the settings I put into environment.prod.ts. Instead, it includes the settings from environment.common.ts. How can I make yarn find the production settings?
My test server runs Ubuntu 20.04 LTS, yarn 1.22.17 and nodejs 14.18.2.