Question

"Sorry, we couldn't find an app in your repo" - Nuxt.js

Posted May 5, 2021 125 views
Node.jsDeploymentVue.jsDigitalOcean App Platform

I have a Nuxt.js app running successfully on my local machine.
I’m trying to deploy it to Digital Ocean using the new App Platform.
I connected the repository successfully, but then got an error ‘Sorry, we couldn’t find an app in your repo’.

The documentation (https://docs.digitalocean.com/products/app-platform/build-system/cloud-native-buildpacks/nodejs/) says that “A NodeJS app is detected based on the existence of the following file at the root of your source code:
package.json”.
I have that file and it’s quite similar to the file in the example nuxt app.

Here’s my package.json file:

{
  "name": "my-nuxt-app",
  "version": "1.0.0",
  "private": true,
  "scripts": {
    "dev": "nuxt-ts",
    "build": "nuxt-ts build",
    "start": "nuxt-ts start",
    "generate": "nuxt-ts generate"
  },
  "dependencies": {
    "@nuxt/typescript-runtime": "^2.0.1",
    "@nuxtjs/auth-next": "5.0.0-1611071776.3646657",
    "@nuxtjs/axios": "^5.12.5",
    "@nuxtjs/pwa": "^3.3.5",
    "core-js": "^3.8.2",
    "nuxt": "^2.14.12"
  },
  "devDependencies": {
    "@nuxt/types": "^2.14.12",
    "@nuxt/typescript-build": "^2.0.4",
    "@nuxtjs/vuetify": "^1.11.3"
  }
}

Are there specific requirements, maybe some special settings, that would help the App Platform to recognize my app?

Thank you.

Submit an answer

You can type !ref in this text area to quickly search our full set of tutorials, documentation & marketplace offerings and insert the link!