Skip to content

Instantly share code, notes, and snippets.

@lakenen
Created September 26, 2014 19:19
Show Gist options
  • Save lakenen/676c60e85779b190c2d4 to your computer and use it in GitHub Desktop.
Save lakenen/676c60e85779b190c2d4 to your computer and use it in GitHub Desktop.
npm errors
$ curl https://www.npmjs.org/install.sh | sh
% Total % Received % Xferd Average Speed Time Time Time Current
Dload Upload Total Spent Left Speed
100 6711 100 6711 0 0 3363 0 0:00:01 0:00:01 --:--:-- 3363
tar=/usr/bin/tar
version:
bsdtar 2.8.3 - libarchive 2.8.3
install npm@latest
fetching: http://registry.npmjs.org/npm/-/npm-2.0.2.tgz
/private/var/folders/qh/b9ys9bpd53q328fnz7hf_gd4y1d7v5/T/npm.81370/package/bin/read-package-json.js:18
val = val[f]
^
TypeError: Cannot read property 'node' of undefined
at /private/var/folders/qh/b9ys9bpd53q328fnz7hf_gd4y1d7v5/T/npm.81370/package/bin/read-package-json.js:18:16
at Array.forEach (native)
at /private/var/folders/qh/b9ys9bpd53q328fnz7hf_gd4y1d7v5/T/npm.81370/package/bin/read-package-json.js:17:11
at Array.forEach (native)
at /private/var/folders/qh/b9ys9bpd53q328fnz7hf_gd4y1d7v5/T/npm.81370/package/bin/read-package-json.js:14:22
at /private/var/folders/qh/b9ys9bpd53q328fnz7hf_gd4y1d7v5/T/npm.81370/package/node_modules/read-package-json/read-json.js:51:40
at final (/private/var/folders/qh/b9ys9bpd53q328fnz7hf_gd4y1d7v5/T/npm.81370/package/node_modules/read-package-json/read-json.js:349:17)
at then (/private/var/folders/qh/b9ys9bpd53q328fnz7hf_gd4y1d7v5/T/npm.81370/package/node_modules/read-package-json/read-json.js:126:33)
at /private/var/folders/qh/b9ys9bpd53q328fnz7hf_gd4y1d7v5/T/npm.81370/package/node_modules/read-package-json/read-json.js:266:40
at evalmachine.<anonymous>:271:14
0.10.30
/private/var/folders/qh/b9ys9bpd53q328fnz7hf_gd4y1d7v5/T/npm.81370/package/bin/read-package-json.js:18
val = val[f]
^
TypeError: Cannot read property 'node' of undefined
at /private/var/folders/qh/b9ys9bpd53q328fnz7hf_gd4y1d7v5/T/npm.81370/package/bin/read-package-json.js:18:16
at Array.forEach (native)
at /private/var/folders/qh/b9ys9bpd53q328fnz7hf_gd4y1d7v5/T/npm.81370/package/bin/read-package-json.js:17:11
at Array.forEach (native)
at /private/var/folders/qh/b9ys9bpd53q328fnz7hf_gd4y1d7v5/T/npm.81370/package/bin/read-package-json.js:14:22
at /private/var/folders/qh/b9ys9bpd53q328fnz7hf_gd4y1d7v5/T/npm.81370/package/node_modules/read-package-json/read-json.js:51:40
at final (/private/var/folders/qh/b9ys9bpd53q328fnz7hf_gd4y1d7v5/T/npm.81370/package/node_modules/read-package-json/read-json.js:349:17)
at then (/private/var/folders/qh/b9ys9bpd53q328fnz7hf_gd4y1d7v5/T/npm.81370/package/node_modules/read-package-json/read-json.js:126:33)
at /private/var/folders/qh/b9ys9bpd53q328fnz7hf_gd4y1d7v5/T/npm.81370/package/node_modules/read-package-json/read-json.js:266:40
at evalmachine.<anonymous>:271:14
unbuild [email protected]
> [email protected] prepublish /private/var/folders/qh/b9ys9bpd53q328fnz7hf_gd4y1d7v5/T/npm.81370/package
> node bin/npm-cli.js prune --prefix=. --no-global && rm -rf test/*/*/node_modules && make -j8 doc
make: Nothing to be done for `doc'.
/Users/clakenen/.npm/bin/npm -> /Users/clakenen/.npm/lib/node_modules/npm/bin/npm-cli.js
npm ERR! Darwin 13.4.0
npm ERR! argv "/usr/local/bin/node" "/private/var/folders/qh/b9ys9bpd53q328fnz7hf_gd4y1d7v5/T/npm.81370/package/cli.js" "install" "-gf"
npm ERR! node v0.10.30
npm ERR! npm v2.0.2
npm ERR! path /Users/clakenen/.npm/share/man/man5
npm ERR! code ENOTEMPTY
npm ERR! errno 53
npm ERR! ENOTEMPTY, rmdir '/Users/clakenen/.npm/share/man/man5'
npm ERR!
npm ERR! If you need help, you may report this error at:
npm ERR! <http://github.com/npm/npm/issues>
It failed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment