【发布时间】:2020-11-17 04:09:03
【问题描述】:
当我尝试执行 gatsby 时,它会在 .cache 中生成 temp-328932 文件
不应生成 temp-328932 文件,
这是不寻常的行为
我不知道为什么会这样.....
我在尝试执行 gatsby 时遇到了一些问题...
我不确定是什么问题...
但这是我从控制台得到的......
error "gatsby-source-graphql" threw an error while running the sourceNodes lifecycle:
getaddrinfo ENOTFOUND undefined
Error: getaddrinfo ENOTFOUND undefined
- From previous event:
- api-runner-node.js:554 Promise.catch.decorateEvent.pluginName
/[gatsby]/src/utils/api-runner-node.js:554:9
warning The gatsby-source-graphql plugin has generated no Gatsby nodes. Do you need it?
object
Error: connect ECONNREFUSED
at TCPConnectWrap.afterConnect [as oncomplete] (net.js:1146:16) {
errno: -4078,
我都尝试过什么...
gatsby clean
gatsby develop
removed node_modules
removed cache
removed package-lock.json
npm uninstall -g gatsby-cli
npm install -g gatsby-cli
uninstalled node and re-installed
uninstalled Visual studio and re-installed
【问题讨论】:
-
全新安装?如果没有,请提供您的
gatsby-node.js,当 Gatsby 尝试生成节点时,那里似乎有些奇怪。 -
当我尝试执行 gatsby 时,它会在 .cache 中生成 temp-328932 文件,不应生成 temp-328932 文件,这是不寻常的行为,我不确定为什么会发生这种情况。 ....
-
gatsby-node.js里面有什么东西吗?请提供更多详细信息
标签: javascript node.js node-modules gatsby gatsby-plugin