【发布时间】:2021-12-06 21:36:40
【问题描述】:
我正在尝试学习和编写我的第一个 GatsbyJs 作品集,但在构建此入门时遇到错误:https://www.gatsbyjs.org/starters/smakosh/gatsby-portfolio-dev/
仍然没有触及任何一行代码... 尝试再次删除 node_modules 和 npm install 但同样的错误。
"gatsby-source-graphql" threw an error while running the sourceNodes lifecycle:
Response not successful: Received status code 401
ServerError: Response not successful: Received status code 401
- index.js:23 Object.exports.throwServerError
[gatsby-portfolio-dev]/[apollo-link-http-common]/lib/index.js:23:17
- index.js:48
[gatsby-portfolio-dev]/[apollo-link-http-common]/lib/index.js:48:21
- task_queues.js:97 processTicksAndRejections
internal/process/task_queues.js:97:5
not finished source and transform nodes - 1.135s
【问题讨论】: