DSpace 7.1 No specific environment file found for --prod

67 views
Skip to first unread message

librarysy...@gmail.com

unread,
Dec 9, 2021, 12:21:14 PM12/9/21
to DSpace Community
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.

librarysy...@gmail.com

unread,
Dec 9, 2021, 2:02:41 PM12/9/21
to DSpace Community
I finally traced the problem to a syntax error in environment.prod.ts.  
Reply all
Reply to author
Forward
0 new messages