#✅ - Nuxt 3 Backend Deployment

3 messages · Page 1 of 1 (latest)

elder umbra
#

I deployed a Nuxt 3 app to AWS using this: https://nuxt.com/deploy/aws-amplify
This is my config:

version: 1
frontend:
  phases:
    preBuild:
      commands:
        - corepack enable
        - npx --yes nypm i
    build:
      commands:
        - npm run build
  artifacts:
    baseDirectory: .amplify-hosting
    files:
      - '**/*'

Then I added a backend for this application using Amplify Studio and integrated it with my app. Got everything working on localhost then pushed to github.

When I pushed my changes and tried to deploy the app I got this error in the back-end step: https://pastebin.com/0WdZXNVb

Are there extra steps to integrate the app with the backend? I can't find any information about it.

elder umbra
#

Solved it! I had to create an IAM role with backend-deployment permission and use it in my app.

glossy kestrelBOT
#

✅ - Nuxt 3 Backend Deployment