Question

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

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

This textbox defaults to using Markdown to format your answer.

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

Sign In or Sign Up to Answer

These answers are provided by our Community. If you find them useful, show some love by clicking the heart. If you run into issues leave a comment, or add your own answer to help others.

Want to learn more? Join the DigitalOcean Community!

Join our DigitalOcean community of over a million developers for free! Get help and share knowledge in Q&A, subscribe to topics of interest, and get courses and tools that will help you grow as a developer and scale your project or business.

Hey there!

If you do have the package.json file there it should be detected as such. Sometimes this can be a permissions issue with the Github repo access to the DigitalOcean application.

If the repo is a Github organization, you’ll want to make sure that you have either owner or maintainer privileges on the repo. You will also need to first authorize your personal Github account followed by the organization.

If you are still seeing issues I’d recommend opening a ticket to our support team who can help troubleshoot that further.

Hope it helps! Nate