NX Vite/React app can’t find __SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED property
I have a NX repo with two NextJS app and two Vite/ReactJS apps in them. The Vite/ReactJS apps are already running on production. I have ported one of the NextJS apps into the NX repo got it to work with the Vite/ReactJS apps in dev but when I deploy to AWS Amplify OR build and serve the production app on local it throws an error in the console.