【问题标题】:AWS Amplify push keeps failingAWS Amplify 推送不断失败
【发布时间】:2021-03-26 01:44:09
【问题描述】:

我正在使用 AWS Amplify for Flutter。我在本地创建了一个 Graph QL API,但是当我尝试使用 amplify push 推送时,它失败并出现以下错误。我已经尝试更新 npm 以及清除 npm 缓存。

EPERM: operation not permitted, scandir '/Users/naman/.Trash'
An error occurred during the push operation: EPERM: operation not permitted, scandir '/Users/naman/.Trash'

【问题讨论】:

    标签: amazon-web-services flutter npm aws-amplify


    【解决方案1】:

    原来 iTerm 没有全盘访问权限。您可以通过“系统偏好设置 > 安全和隐私 > 隐私 > 全盘访问”来更改此设置。解锁,单击“+”,然后选择您用于运行 Amplify CLI 的终端。您必须重新启动终端程序。

    【讨论】:

      猜你喜欢
      • 2021-07-26
      • 1970-01-01
      • 2020-04-02
      • 1970-01-01
      • 2020-10-18
      • 2019-04-09
      • 1970-01-01
      • 2021-12-30
      相关资源
      最近更新 更多