Rodrigue
Rodrigue
NNuxt
Created by Rodrigue on 12/2/2024 in #❓・help
Static html file missing after generation
Hello, locally when I use yarn generate. All my html files are correctly created. When I deploy my app on Amplify, I don't get these html files (missing index.html and all). Has anyone had this error before? buildspec. yml
version: 1
frontend:
phases:
install:
runtime-versions:
nodejs: '20'
preBuild:
commands:
- yarn install
build:
commands:
- yarn generate
artifacts:
baseDirectory: '.output/public'
files:
- '**/*'
cache:
paths:
- node_modules/**/*
version: 1
frontend:
phases:
install:
runtime-versions:
nodejs: '20'
preBuild:
commands:
- yarn install
build:
commands:
- yarn generate
artifacts:
baseDirectory: '.output/public'
files:
- '**/*'
cache:
paths:
- node_modules/**/*
7 replies