alanshaw / alanshaw/david-www

connect ECONNREFUSED 127.0.0.1:3001

未关闭
#443 1 条评论 0 个 reaction 已指派 0 人 在 GitHub 查看
主要语言
JavaScript
星标
720
派生
125
PR 合并指标
30 天内没有已合并 PR

描述

Hopefully this is a config issue - but am raising it, as am stuck.

I followed the README and created a github PAT and added it to a new .davidrc file.

`npm start` does start up the website - and it is able to retrieve latest updates from npm

BUT if I try to use a URL to view a particular package, there is an error reaching local port 3001

```
curl http://localhost:1337/alanshaw/grunt-jsio

Error

FetchError: request to http://localhost:3001/gh/alanshaw/grunt-jsio failed, reason: connect ECONNREFUSED 127.0.0.1:3001
   at ClientRequest.<anonymous> (/Users/Sean.Ryan/src/github/mrseanryan/david-www/node_modules/node-fetch/index.js:133:11)
   at ClientRequest.emit (events.js:314:20)
   at Socket.socketErrorListener (_http_client.js:428:9)
   at Socket.emit (events.js:314:20)
   at emitErrorNT (internal/streams/destroy.js:92:8)
   at emitErrorAndCloseNT (internal/streams/destroy.js:60:3)
   at processTicksAndRejections (internal/process/task_queues.js:84:21)

```

1. Is there some config step I need to add?

2. which PAT elements need to be enabled? (github has a long list of permissions that can be enabled)

Thank you!

贡献指南

这个仓库没有索引到贡献指南

评估

这个 Issue 还没有评估数据。

把新 issue 发到你的邮箱

精选适合新手参与的 GitHub issue 摘要。