keybase / keybase/keybase-issues
Installer fails: npm ERR! AssertionError: must have callback function
- Dominant language
- No language data
- Stars
- 899
- Forks
- 40
- PR merge metrics
- No merged PRs in 30d
Description
On OS X 10.9.2 with Node 0.10.28 and npm 1.4.22 and keybase-installer 0.1.22:
```
$ keybase-installer
info: Made temporary directory: /var/folders/rb/rzqz50s17533qrjmnlsfzf300000gn/T/keybase_install_kTuTKj7XHXMYxSoybMYZGA
info: Using keyset version v1
info: Fetching URL https://dist.keybase.io/sig/files/1/index.asc
info: Fetching URL https://dist.keybase.io/pkg/stable
Download /pkg/files/keybase-0.4.0.tgz [=================================================] 100% 0.0s (3675191 bytes total)
info: Fetching URL https://dist.keybase.io/sig/files/1/keybase-0.4.0.tgz.asc
info: verified signature of keybase-0.4.0.tgz against keybase-0.4.0.tgz.asc
info: Running npm install keybase-0.4.0.tgz: this may take a minute, please be patient
npm ERR! AssertionError: must have callback function
npm ERR! at addTmpTarball (/usr/local/lib/node_modules/npm/lib/cache/add-local-tarball.js:129:3)
npm ERR! at /usr/local/lib/node_modules/npm/lib/cache/add-local-tarball.js:74:9
npm ERR! at Object.oncomplete (fs.js:107:15)
npm ERR! If you need help, you may report this *entire* log,
npm ERR! including the npm and node versions, at:
npm ERR!
npm ERR! System Darwin 13.1.0
npm ERR! command "node" "/usr/local/bin/npm" "install" "-g" "/var/folders/rb/rzqz50s17533qrjmnlsfzf300000gn/T/keybase_install_kTuTKj7XHXMYxSoybMYZGA/keybase-0.4.0.tgz"
npm ERR! cwd /Users/user
npm ERR! node -v v0.10.28
npm ERR! npm -v 1.4.12
npm ERR!
npm ERR! Additional logging details can be found in:
npm ERR! /Users/user/npm-debug.log
npm ERR! not ok code 0
info: cleaning up tmpdir /var/folders/rb/rzqz50s17533qrjmnlsfzf300000gn/T/keybase_install_kTuTKj7XHXMYxSoybMYZGA
error: exit code 1
```
Contributor guide
No contributing guide indexed for this repository
Research direction
Start by reproducing the reported `keybase-installer` run with Node 0.10.28, npm 1.4.12, and keybase-installer 0.1.22, focusing on the `npm install -g` command and the `add-local-tarball.js` assertion. Done means the installer completes without the callback error, or the issue is narrowed to an incompatible external npm version.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- node.js
- Domain
- cli
- Issue type
- Bug
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 25/100