I’m tryiing to deploy a Nuxt.js app as a simple web service. For the build command I entered
yarn build as is the default for any Nuxt app. For the start command I entered
yarn start as is also a default. However, the deployment fails because “nuxt” is not found, because the dependencies are never installed. I had to change my build command to
yarn install && yarn build for it to work.
The other problem I’m having is after the deployment runs
yarn start it will start listening on
localhost:10000 and the deployment will forever stay “in progress”, the app is at this point also not accessible from the standard domain “.onrender.com” (blank page).
- How do I configure the deployment to automatically install deps in the future?
- How do I configure the app in render so that the app domain points to my app?