AWS 'Amplify push' 命令在 React Native 项目中给出 'file already exists in amplify/.temp/#current-cloud-backend' 错误
AWS 'Amplify push' command giving 'file already exists in amplify/.temp/#current-cloud-backend' error in React Native project
我创建了一个新的 React Native 项目并在此文件夹中初始化了一个新的 AWS Amplify 项目并仅添加了 1 个类别(添加身份验证)。但是,当我执行 'Amplify push' 时出现以下错误:
"There was an error pulling the backend environment 'dev', push操作时出错。EEXIST: file already exists, mkdir '..projectDirectory/amplify/.temp/#current-云后端'"
谁能帮我解决这个问题?
您应该验证您当前的节点版本是否满足 aws 放大要求 (>= 10.12)。
我创建了一个新的 React Native 项目并在此文件夹中初始化了一个新的 AWS Amplify 项目并仅添加了 1 个类别(添加身份验证)。但是,当我执行 'Amplify push' 时出现以下错误:
"There was an error pulling the backend environment 'dev', push操作时出错。EEXIST: file already exists, mkdir '..projectDirectory/amplify/.temp/#current-云后端'"
谁能帮我解决这个问题?
您应该验证您当前的节点版本是否满足 aws 放大要求 (>= 10.12)。