Closed9

Phase complete: DOWNLOAD_SOURCE State: FAILED

KumaoKumao

CodeBuildでバージョン指定しようとしたらエラー

Phase complete: DOWNLOAD_SOURCE State: FAILED
Phase context status code: YAML_FILE_ERROR Message: Expected RuntimeVersions to be of map type: found list instead at line 6
KumaoKumao

エラーになったbuildspec.yml

version: 0.2

phases:
  install:
    runtime-versions:
      - nodejs: 18.x
    commands:
      - npm install
  build:
    commands:
      - npm run build
KumaoKumao

Next.jsマネージドでは詰むのかも

You are using Node.js 18.15.0. For Next.js, Node.js version >= v18.17.0 is required.
KumaoKumao

非常にめんどくさいv20にも対応してください

このスクラップは5ヶ月前にクローズされました