Javascript Amplify makes`加载资源失败:服务器响应状态为400`错误

Javascript Amplify makes`加载资源失败:服务器响应状态为400`错误,javascript,reactjs,amazon-web-services,npm,aws-amplify,Javascript,Reactjs,Amazon Web Services,Npm,Aws Amplify,我在Amplify上犯了这个错误,我完成了构建 Failed to load resource: the server responded with a status of 400 manifest.json:1 该系统可以在本地环境下工作。本地env的Package.json脚本如下所示 ....... "scripts": { "start": "react-scripts start", "

我在Amplify上犯了这个错误,我完成了构建

Failed to load resource: the server responded with a status of 400
manifest.json:1 

该系统可以在本地环境下工作。本地env的Package.json脚本如下所示

  .......
  "scripts": {
    "start": "react-scripts start",
    "build": "react-scripts build",
    "test": "react-scripts test",
    "eject": "react-scripts eject",
    "format": "./node_modules/.bin/eslint --fix --ignore-path .gitignore ."
  },
  .......
下面是我的amplify.xml

version: 1
frontend:
    phases:
        preBuild:
            commands: 
                - nvm install 14.15.0
                - nvm use 14.15.0
                - yarn install
        build:
            commands: 
                - nvm install 14.15.0
                - nvm use 14.15.0
                - node -v
                - yarn run build
    artifacts:
        baseDirectory: public
        files:
            - '**/*'
    cache:
        paths:
            - 'node_modules/**/*'
屏幕完全是黑色的

有没有人有同样的问题