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
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="utf-8">
<title>Error</title>
</head>
<body>
<pre>FetchError: request to http://localhost:3001/gh/alanshaw/grunt-jsio failed, reason: connect ECONNREFUSED 127.0.0.1:3001<br> at ClientRequest.<anonymous> (/Users/Sean.Ryan/src/github/mrseanryan/david-www/node_modules/node-fetch/index.js:133:11)<br> at ClientRequest.emit (events.js:314:20)<br> at Socket.socketErrorListener (_http_client.js:428:9)<br> at Socket.emit (events.js:314:20)<br> at emitErrorNT (internal/streams/destroy.js:92:8)<br> at emitErrorAndCloseNT (internal/streams/destroy.js:60:3)<br> at processTicksAndRejections (internal/process/task_queues.js:84:21)</pre>
</body>
</html>
-
Is there some config step I need to add?
-
which PAT elements need to be enabled? (github has a long list of permissions that can be enabled)
Thank you!
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 startdoes start up the website - and it is able to retrieve latest updates from npmBUT if I try to use a URL to view a particular package, there is an error reaching local port 3001
Is there some config step I need to add?
which PAT elements need to be enabled? (github has a long list of permissions that can be enabled)
Thank you!