4 réponses
- Le plus récent
- Le plus de votes
- La plupart des commentaires
0
cache size issue. see here for workaround:
répondu il y a 5 ans
0
You could solve it by removing any override package version in Amplify build settings.
You might add npm i -g @aws-amplify/cli as a preBuild command, which forces a reset in the cache.
version: 1
backend:
phases:
preBuild:
commands:
- npm i -g @aws-amplify/cli
build:
commands:
- '# Execute Amplify CLI with the helper script'
- amplifyPush --simple
frontend:
phases:
preBuild:
commands:
- npm ci
build:
commands:
- npm run build
artifacts:
baseDirectory: .next
files:
- '**/*'
cache:
paths:
- node_modules/**/*
répondu il y a 9 mois
Contenus pertinents
- demandé il y a un an
- demandé il y a 2 mois
- AWS OFFICIELA mis à jour il y a 2 ans
- AWS OFFICIELA mis à jour il y a 2 ans
- AWS OFFICIELA mis à jour il y a 2 ans