-
-
Notifications
You must be signed in to change notification settings - Fork 0
Open
Description
Hi there, @sandoche 👋
Just giving this library a try. I'm getting this error:
(node:26730) UnhandledPromiseRejectionWarning: ReferenceError: fetch is not defined
at /Users/z/git/github/help-docs/node_modules/github-contributors-file/lib/github-contributors-file.js:118:7
at new Promise (<anonymous>)
at getContributors (/Users/z/git/github/help-docs/node_modules/github-contributors-file/lib/github-contributors-file.js:115:10)
at main (/Users/z/git/github/help-docs/script/get-contributors.js:10:30)
at Object.<anonymous> (/Users/z/git/github/help-docs/script/get-contributors.js:7:1)
at Module._compile (internal/modules/cjs/loader.js:868:30)
at Object.Module._extensions..js (internal/modules/cjs/loader.js:879:10)
at Module.load (internal/modules/cjs/loader.js:731:32)
at Function.Module._load (internal/modules/cjs/loader.js:644:12)
at Function.Module.runMain (internal/modules/cjs/loader.js:931:10)
(node:26730) 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: 2)
(node:26730) [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.
I suspect this is because all the dependencies are declared as devDependencies, so they're not installed when the package is npm installed.
Metadata
Metadata
Assignees
Labels
No labels