【问题标题】:getting error : Could not proxy request /api/plaid/accounts from localhost:3000 to http://localhost:5000/出现错误:无法将请求 /api/plaid/accounts 从 localhost:3000 代理到 http://localhost:5000/
【发布时间】:2019-08-19 09:13:35
【问题描述】:

我的应用程序正在 localhost:3000 上运行,我需要调用格子 API 调用,因为我正在使用 axios,当它运行 plaid API 调用时,它给了我错误 Could not proxy request /api/plaid/accounts from localhost:3000 to http://localhost:5000/,我很奇怪为什么会这样去http://localhost:5000/?为什么我会收到这个错误?谁能帮我解决这个问题?

【问题讨论】:

  • 能否请您提供出错的代码

标签: node.js reactjs react-redux


【解决方案1】:

我也遇到了同样的问题。请尝试使用 sudo npm install--save react-scripts 更新 react-scripts,在实际的稳定版本中问题已得到修复。

【讨论】:

    猜你喜欢
    • 2021-09-28
    • 2023-02-02
    • 1970-01-01
    • 2022-11-22
    • 2018-01-04
    • 2019-07-07
    • 2020-06-20
    • 2021-09-26
    • 2020-01-31
    相关资源
    最近更新 更多