Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Gatsby #125

Open
xiaotiandada opened this issue Nov 17, 2022 · 0 comments
Open

Gatsby #125

xiaotiandada opened this issue Nov 17, 2022 · 0 comments

Comments

@xiaotiandada
Copy link
Owner

本地运行 gatsby-source-strapi 插件报错

403 问题

"gatsby-source-strapi" threw an error while running the sourceNodes lifecycle: Request failed with status code 403

应该是没有 accessToken 权限

502 问题

"gatsby-source-strapi" threw an error while running the sourceNodes lifecycle: Request failed with status code 502

可能和你的本地代理有关系,具体分析看下面的文章介绍。

我本地关闭代理后,运行 yarn develop -H 127.0.0.1 成功运行。

{
    "gatsby": "^5.0.1",
    "gatsby-source-strapi": "^2.0.0",
}

image

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant