github-by-stars icon indicating copy to clipboard operation
github-by-stars copied to clipboard

UnhandledPromiseRejectionWarning: RequestError: Error: options.uri is a required argument

Open PatMyron opened this issue 6 years ago • 0 comments

github-by-stars $ node index.js --author aws-cloudformation --name cfn-python-lint
Waiting 5 s
Fetching: https://github.com/aws-cloudformation/cfn-python-lint/network/dependents
Writing dataset/cfn-python-lint/0.html
[...]
Waiting 5 s
Fetching: https://github.com/aws-cloudformation/cfn-python-lint/network/dependents?dependents_after=NDI0MDQ4MjUyMw
Writing dataset/cfn-python-lint/6.html
Waiting 5 s
Fetching
(node:73150) UnhandledPromiseRejectionWarning: RequestError: Error: options.uri is a required argument
    at new RequestError (github-by-stars/node_modules/request-promise-core/lib/errors.js:14:15)
    at Request.plumbing.callback (github-by-stars/node_modules/request-promise-core/lib/plumbing.js:87:29)
    at Request.RP$callback [as _callback] (github-by-stars/node_modules/request-promise-core/lib/plumbing.js:46:31)
    at self.callback (github-by-stars/node_modules/request/request.js:185:22)
    at Request.emit (events.js:203:13)
    at Request.EventEmitter.emit (domain.js:476:20)
    at Request.init (github-by-stars/node_modules/request/request.js:231:17)
    at Request.RP$initInterceptor [as init] (github-by-stars/node_modules/request-promise-core/configure/request2.js:45:29)
    at new Request (github-by-stars/node_modules/request/request.js:127:8)
    at request (github-by-stars/node_modules/request/index.js:53:10)
    at github-by-stars/src/getHtmls.js:15:23
(node:73150) UnhandledPromiseRejectionWarning: Unhandled promise rejection. This error originated either by throwing inside of an async function without a catch block, or by rejecting a promise which was not handled with .catch(). (rejection id: 1)
(node:73150) [DEP0018] DeprecationWarning: Unhandled promise rejections are deprecated. In the future, promise rejections that are not handled will terminate the Node.js process with a non-zero exit code.

PatMyron avatar Aug 18 '19 06:08 PatMyron