question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. ItΒ collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

* flow-typed cache not found, fetching from GitHub...ERROR: Unable to clone the local cache repo.

See original GitHub issue

I am not able to install at type definition. Not sure what is wrong with github (my internet access is ok and github is up - proof is this issue).

$ npm install -g flow-typed
/Users/MoOx/.nvm/versions/node/v5.11.0/bin/flow-typed -> /Users/MoOx/.nvm/versions/node/v5.11.0/lib/node_modules/flow-typed/dist/cli.js

> nodegit@0.13.2 install /Users/MoOx/.nvm/versions/node/v5.11.0/lib/node_modules/flow-typed/node_modules/nodegit
> node lifecycleScripts/install

[nodegit] Fetching binary from S3.
[nodegit] Completed installation successfully.

> nodegit@0.13.2 postinstall /Users/MoOx/.nvm/versions/node/v5.11.0/lib/node_modules/flow-typed/node_modules/nodegit
> node postinstall.js

/Users/MoOx/.nvm/versions/node/v5.11.0/lib
└─┬ flow-typed@2.0.0-beta.5 
  β”œβ”€β”¬ babel-polyfill@6.9.1 
  β”‚ β”œβ”€β”€ babel-runtime@6.9.2 
  β”‚ β”œβ”€β”€ core-js@2.4.0 
  β”‚ └── regenerator-runtime@0.9.5 
  β”œβ”€β”¬ github@0.2.4 
  β”‚ └── mime@1.3.4 
  β”œβ”€β”€ lodash@4.13.1 
  β”œβ”€β”¬ md5@2.1.0 
  β”‚ β”œβ”€β”€ charenc@0.0.1 
  β”‚ β”œβ”€β”€ crypt@0.0.1 
  β”‚ └── is-buffer@1.1.3 
  β”œβ”€β”¬ mkdirp@0.5.1 
  β”‚ └── minimist@0.0.8 
  β”œβ”€β”¬ nodegit@0.13.2 
  β”‚ β”œβ”€β”¬ fs-extra@0.26.7 
  β”‚ β”‚ β”œβ”€β”€ graceful-fs@4.1.4 
  β”‚ β”‚ β”œβ”€β”€ jsonfile@2.3.1 
  β”‚ β”‚ β”œβ”€β”€ klaw@1.3.0 
  β”‚ β”‚ β”œβ”€β”€ path-is-absolute@1.0.0 
  β”‚ β”‚ └─┬ rimraf@2.5.2 
  β”‚ β”‚   └─┬ glob@7.0.3 
  β”‚ β”‚     β”œβ”€β”€ inflight@1.0.5 
  β”‚ β”‚     └─┬ minimatch@3.0.0 
  β”‚ β”‚       └─┬ brace-expansion@1.1.4 
  β”‚ β”‚         β”œβ”€β”€ balanced-match@0.4.1 
  β”‚ β”‚         └── concat-map@0.0.1 
  β”‚ β”œβ”€β”¬ node-pre-gyp@0.6.28 
  β”‚ β”‚ β”œβ”€β”¬ nopt@3.0.6 
  β”‚ β”‚ β”‚ └── abbrev@1.0.7 
  β”‚ β”‚ β”œβ”€β”¬ npmlog@2.0.4 
  β”‚ β”‚ β”‚ β”œβ”€β”€ ansi@0.3.1 
  β”‚ β”‚ β”‚ β”œβ”€β”¬ are-we-there-yet@1.1.2 
  β”‚ β”‚ β”‚ β”‚ β”œβ”€β”€ delegates@1.0.0 
  β”‚ β”‚ β”‚ β”‚ └─┬ readable-stream@2.1.4 
  β”‚ β”‚ β”‚ β”‚   └── buffer-shims@1.0.0 
  β”‚ β”‚ β”‚ └─┬ gauge@1.2.7 
  β”‚ β”‚ β”‚   β”œβ”€β”€ has-unicode@2.0.0 
  β”‚ β”‚ β”‚   β”œβ”€β”¬ lodash.pad@4.4.0 
  β”‚ β”‚ β”‚   β”‚ β”œβ”€β”€ lodash._baseslice@4.0.0 
  β”‚ β”‚ β”‚   β”‚ β”œβ”€β”€ lodash._basetostring@4.12.0 
  β”‚ β”‚ β”‚   β”‚ └── lodash.tostring@4.1.3 
  β”‚ β”‚ β”‚   β”œβ”€β”€ lodash.padend@4.5.0 
  β”‚ β”‚ β”‚   └── lodash.padstart@4.5.0 
  β”‚ β”‚ β”œβ”€β”¬ rc@1.1.6 
  β”‚ β”‚ β”‚ β”œβ”€β”€ deep-extend@0.4.1 
  β”‚ β”‚ β”‚ β”œβ”€β”€ ini@1.3.4 
  β”‚ β”‚ β”‚ β”œβ”€β”€ minimist@1.2.0 
  β”‚ β”‚ β”‚ └── strip-json-comments@1.0.4 
  β”‚ β”‚ β”œβ”€β”¬ tar@2.2.1 
  β”‚ β”‚ β”‚ β”œβ”€β”€ block-stream@0.0.9 
  β”‚ β”‚ β”‚ β”œβ”€β”€ fstream@1.0.9 
  β”‚ β”‚ β”‚ └── inherits@2.0.1 
  β”‚ β”‚ └─┬ tar-pack@3.1.3 
  β”‚ β”‚   β”œβ”€β”¬ debug@2.2.0 
  β”‚ β”‚   β”‚ └── ms@0.7.1 
  β”‚ β”‚   β”œβ”€β”€ fstream-ignore@1.0.5 
  β”‚ β”‚   β”œβ”€β”¬ once@1.3.3 
  β”‚ β”‚   β”‚ └── wrappy@1.0.2 
  β”‚ β”‚   β”œβ”€β”€ readable-stream@2.0.6 
  β”‚ β”‚   └── uid-number@0.0.6 
  β”‚ └─┬ promisify-node@0.3.0 
  β”‚   └─┬ nodegit-promise@4.0.0 
  β”‚     └── asap@2.0.4 
  β”œβ”€β”¬ request@2.72.0 
  β”‚ β”œβ”€β”€ aws-sign2@0.6.0 
  β”‚ β”œβ”€β”€ aws4@1.4.1 
  β”‚ β”œβ”€β”¬ bl@1.1.2 
  β”‚ β”‚ └─┬ readable-stream@2.0.6 
  β”‚ β”‚   β”œβ”€β”€ core-util-is@1.0.2 
  β”‚ β”‚   β”œβ”€β”€ isarray@1.0.0 
  β”‚ β”‚   β”œβ”€β”€ process-nextick-args@1.0.7 
  β”‚ β”‚   β”œβ”€β”€ string_decoder@0.10.31 
  β”‚ β”‚   └── util-deprecate@1.0.2 
  β”‚ β”œβ”€β”€ caseless@0.11.0 
  β”‚ β”œβ”€β”¬ combined-stream@1.0.5 
  β”‚ β”‚ └── delayed-stream@1.0.0 
  β”‚ β”œβ”€β”€ extend@3.0.0 
  β”‚ β”œβ”€β”€ forever-agent@0.6.1 
  β”‚ β”œβ”€β”¬ form-data@1.0.0-rc4 
  β”‚ β”‚ └── async@1.5.2 
  β”‚ β”œβ”€β”¬ har-validator@2.0.6 
  β”‚ β”‚ β”œβ”€β”¬ commander@2.9.0 
  β”‚ β”‚ β”‚ └── graceful-readlink@1.0.1 
  β”‚ β”‚ β”œβ”€β”¬ is-my-json-valid@2.13.1 
  β”‚ β”‚ β”‚ β”œβ”€β”€ generate-function@2.0.0 
  β”‚ β”‚ β”‚ β”œβ”€β”¬ generate-object-property@1.2.0 
  β”‚ β”‚ β”‚ β”‚ └── is-property@1.0.2 
  β”‚ β”‚ β”‚ β”œβ”€β”€ jsonpointer@2.0.0 
  β”‚ β”‚ β”‚ └── xtend@4.0.1 
  β”‚ β”‚ └─┬ pinkie-promise@2.0.1 
  β”‚ β”‚   └── pinkie@2.0.4 
  β”‚ β”œβ”€β”¬ hawk@3.1.3 
  β”‚ β”‚ β”œβ”€β”€ boom@2.10.1 
  β”‚ β”‚ β”œβ”€β”€ cryptiles@2.0.5 
  β”‚ β”‚ β”œβ”€β”€ hoek@2.16.3 
  β”‚ β”‚ └── sntp@1.0.9 
  β”‚ β”œβ”€β”¬ http-signature@1.1.1 
  β”‚ β”‚ β”œβ”€β”€ assert-plus@0.2.0 
  β”‚ β”‚ β”œβ”€β”¬ jsprim@1.2.2 
  β”‚ β”‚ β”‚ β”œβ”€β”€ extsprintf@1.0.2 
  β”‚ β”‚ β”‚ β”œβ”€β”€ json-schema@0.2.2 
  β”‚ β”‚ β”‚ └── verror@1.3.6 
  β”‚ β”‚ └─┬ sshpk@1.8.3 
  β”‚ β”‚   β”œβ”€β”€ asn1@0.2.3 
  β”‚ β”‚   β”œβ”€β”€ assert-plus@1.0.0 
  β”‚ β”‚   β”œβ”€β”¬ dashdash@1.14.0 
  β”‚ β”‚   β”‚ └── assert-plus@1.0.0 
  β”‚ β”‚   β”œβ”€β”€ ecc-jsbn@0.1.1 
  β”‚ β”‚   β”œβ”€β”¬ getpass@0.1.6 
  β”‚ β”‚   β”‚ └── assert-plus@1.0.0 
  β”‚ β”‚   β”œβ”€β”€ jodid25519@1.0.2 
  β”‚ β”‚   β”œβ”€β”€ jsbn@0.1.0 
  β”‚ β”‚   └── tweetnacl@0.13.3 
  β”‚ β”œβ”€β”€ is-typedarray@1.0.0 
  β”‚ β”œβ”€β”€ isstream@0.1.2 
  β”‚ β”œβ”€β”€ json-stringify-safe@5.0.1 
  β”‚ β”œβ”€β”¬ mime-types@2.1.11 
  β”‚ β”‚ └── mime-db@1.23.0 
  β”‚ β”œβ”€β”€ node-uuid@1.4.7 
  β”‚ β”œβ”€β”€ oauth-sign@0.8.2 
  β”‚ β”œβ”€β”€ qs@6.1.0 
  β”‚ β”œβ”€β”€ stringstream@0.0.5 
  β”‚ β”œβ”€β”€ tough-cookie@2.2.2 
  β”‚ └── tunnel-agent@0.4.3 
  β”œβ”€β”€ rx-lite@4.0.8 
  β”œβ”€β”€ semver@5.1.0 
  β”œβ”€β”¬ table@3.7.8 
  β”‚ β”œβ”€β”€ bluebird@3.4.0 
  β”‚ β”œβ”€β”¬ chalk@1.1.3 
  β”‚ β”‚ β”œβ”€β”€ ansi-styles@2.2.1 
  β”‚ β”‚ β”œβ”€β”€ escape-string-regexp@1.0.5 
  β”‚ β”‚ β”œβ”€β”€ has-ansi@2.0.0 
  β”‚ β”‚ └── supports-color@2.0.0 
  β”‚ β”œβ”€β”€ slice-ansi@0.0.4 
  β”‚ β”œβ”€β”¬ string-width@1.0.1 
  β”‚ β”‚ β”œβ”€β”¬ code-point-at@1.0.0 
  β”‚ β”‚ β”‚ └── number-is-nan@1.0.0 
  β”‚ β”‚ └── is-fullwidth-code-point@1.0.0 
  β”‚ β”œβ”€β”¬ strip-ansi@3.0.1 
  β”‚ β”‚ └── ansi-regex@2.0.0 
  β”‚ β”œβ”€β”€ tv4@1.2.7 
  β”‚ └── xregexp@3.1.1 
  β”œβ”€β”€ through@2.3.8 
  └─┬ yargs@4.7.1 
    β”œβ”€β”€ camelcase@3.0.0 
    β”œβ”€β”¬ cliui@3.2.0 
    β”‚ └── wrap-ansi@2.0.0 
    β”œβ”€β”€ decamelize@1.2.0 
    β”œβ”€β”¬ lodash.assign@4.0.9 
    β”‚ β”œβ”€β”€ lodash.keys@4.0.7 
    β”‚ └── lodash.rest@4.0.3 
    β”œβ”€β”¬ os-locale@1.4.0 
    β”‚ └─┬ lcid@1.0.0 
    β”‚   └── invert-kv@1.0.0 
    β”œβ”€β”¬ pkg-conf@1.1.3 
    β”‚ β”œβ”€β”¬ find-up@1.1.2 
    β”‚ β”‚ └── path-exists@2.1.0 
    β”‚ β”œβ”€β”¬ load-json-file@1.1.0 
    β”‚ β”‚ β”œβ”€β”¬ parse-json@2.2.0 
    β”‚ β”‚ β”‚ └─┬ error-ex@1.3.0 
    β”‚ β”‚ β”‚   └── is-arrayish@0.2.1 
    β”‚ β”‚ β”œβ”€β”€ pify@2.3.0 
    β”‚ β”‚ └─┬ strip-bom@2.0.0 
    β”‚ β”‚   └── is-utf8@0.2.1 
    β”‚ β”œβ”€β”€ object-assign@4.1.0 
    β”‚ └── symbol@0.2.3 
    β”œβ”€β”¬ read-pkg-up@1.0.1 
    β”‚ └─┬ read-pkg@1.1.0 
    β”‚   β”œβ”€β”¬ normalize-package-data@2.3.5 
    β”‚   β”‚ β”œβ”€β”€ hosted-git-info@2.1.5 
    β”‚   β”‚ β”œβ”€β”¬ is-builtin-module@1.0.0 
    β”‚   β”‚ β”‚ └── builtin-modules@1.1.1 
    β”‚   β”‚ └─┬ validate-npm-package-license@3.0.1 
    β”‚   β”‚   β”œβ”€β”¬ spdx-correct@1.0.2 
    β”‚   β”‚   β”‚ └── spdx-license-ids@1.2.1 
    β”‚   β”‚   └─┬ spdx-expression-parse@1.0.2 
    β”‚   β”‚     └── spdx-exceptions@1.0.4 
    β”‚   └── path-type@1.1.0 
    β”œβ”€β”€ require-main-filename@1.0.1 
    β”œβ”€β”€ set-blocking@1.0.0 
    β”œβ”€β”€ window-size@0.2.0 
    β”œβ”€β”€ y18n@3.2.1 
    └─┬ yargs-parser@2.4.0 
      └── camelcase@2.1.1 


~/myproject master* 1m 49s
❯ flow-typed install -f 0.27 redux@3.0.0
 * flow-typed cache not found, fetching from GitHub...ERROR: Unable to clone the local cache repo.
UNCAUGHT ERROR: Error: authentication required but no callback set
    at Error (native)

Issue Analytics

  • State:closed
  • Created 7 years ago
  • Comments:18 (14 by maintainers)

github_iconTop GitHub Comments

2reactions
ryyppycommented, Jul 28, 2016

I am totally with you! Maybe it would be a good idea to create a new issue, which will ask for HTTPS support, which doesn’t require a configured SSH-Key configuration? I think this would solve many problems in the future. Not sure if the used library supports this? @jeffmo

0reactions
mithunscommented, Jan 14, 2019

Still does not work and I just checked I have ssh setup on my windows device.

Mode                LastWriteTime         Length Name
----                -------------         ------ ----
-a----         2/4/2018  11:53 PM           1675 id_rsa
-a----         2/4/2018  11:53 PM            420 id_rsa.pub
-a----         7/6/2018  10:36 AM           3326 id_rsa1
-a----         7/6/2018  10:36 AM            747 id_rsa1.pub
-a----       11/13/2017  11:57 AM            792 known_hosts

This just hangs for hours

PS C:\Users\mithuns\git\electron-react-boilerplate> flow-typed update-cache --debug
Updating flow-typed definitions...
β€’ flow-typed cache not found, fetching from GitHub...

So, I decided to follow the steps listed on readme.

PS C:\Users\mithuns\git\electron-react-boilerplate> yarn global add flow-typed
yarn global v1.12.3
[1/4] Resolving packages...
[2/4] Fetching packages...
[3/4] Linking dependencies...
[4/4] Building fresh packages...

success Installed "flow-typed@2.5.1" with binaries:
      - flow-typed
Done in 6.81s.
PS C:\Users\mithuns\git\electron-react-boilerplate> yarn install
yarn install v1.12.3
$ node ./internals/scripts/CheckYarn.js
warning package-lock.json found. Your project contains lock files generated by tools other than Yarn. It is advised not to mix package managers in order to avoid resolution inconsistencies caused by unsynchronized lock files. To clear this warning, remove package-lock.json.
[1/4] Resolving packages...
success Already up-to-date.
$ yarn flow-typed && electron-builder install-app-deps package.json && yarn build-dll && opencollective-postinstall
yarn run v1.12.3
$ rimraf flow-typed/npm && flow-typed install --overwrite || true
β€’ Found 108 dependencies in package.json to install libdefs for. Searching...
β€’ flow-typed cache not found, fetching from GitHub...

And still the same issue. Whats the solution for this ? Sorry, if I am a bit late to this thread. seems like there was a identified solution for this.

Read more comments on GitHub >

github_iconTop Results From Across the Web

ERROR: Unable to rebase the local cache repo. #2954
While using yarn in terminal I get the following error: ERROR: Unable to rebase the local cache repo. Error rebasing the `master` branch...
Read more >
Error cloning repo: spawn EACCES Β· Issue #481 Β· flow-typed ...
flow-typed cache not found, fetching from GitHub...ERROR: Unable to clone the local cache repo. UNCAUGHT ERROR: Error: Error cloning repo: spawn EACCES atΒ ......
Read more >
[CLI] Installing the CLI takes forever Β· Issue #107 Β· flow-typed ...
jeffmo mentioned this issue on Jul 6, 2016. * flow-typed cache not found, fetching from GitHub...ERROR: Unable to clone the local cache repo....
Read more >
[CLI] install command fails in CircleCI Β· Issue #247 Β· flow-typed/ ...
The command fails with the following message. flow-typed cache not found, fetching from GitHub...ERROR: Unable to clone the local cache repo. UNCAUGHT ERROR:Β ......
Read more >
Fix nodegit auth problems Β· Issue #226 Β· flow-typed ...
... nodegit not cloning the flow-typed repo because of authentication errors. ... As a work around, I manually cloned the repo into the...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found