我按照说明here为我的iOS应用添加身份验证。我先运行amplify auth update,然后执行所有步骤,然后再运行amplify push。但是,amplify push失败,出现以下错误:

/usr/local/lib/node_modules/@aws-amplify/cli/node_modules/gluegun/build/index.js:13
    throw up;
    ^

Error: ENOENT: no such file or directory, stat '/Users/yunfeiguo/Documents/programming/zhiyouios/amplify/#current-cloud-backend/api/zhiyou'


知道这可能是什么问题吗?

最佳答案

我做了以下工作,它解决了我的问题。

按照here的说明进行操作,并致电amplify host add。

然后将api和auth文件夹及其内容从后端文件夹移至#current-cloud-backend文件夹。

然后运行放大推。

关于amazon-web-services - 运行Amplify Auth更新后运行Amplify Push时出错,我们在Stack Overflow上找到一个类似的问题:https://stackoverflow.com/questions/53527155/

10-11 07:00