alanshaw / alanshaw/david-www

connect ECONNREFUSED 127.0.0.1:3001

Aperta
#443 1 commento 0 reazioni 0 assegnatari Vedi su GitHub
Lingua principale
JavaScript
Stelle
720
Fork
125
Metriche di merge delle PR
Nessuna PR unita negli ultimi 30g

Descrizione

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!

Guida per i contributori

Nessuna guida per i contributori indicizzata per questo repository

Valutazione

Questa issue non è ancora stata valutata.

Ricevi le nuove issue nella tua casella

Un breve riepilogo di issue GitHub adatte ai principianti.