Skip to content

Instantly share code, notes, and snippets.

Show Gist options
  • Save yangwao/5a0a7ad54e668df5a8fca3fe62db2058 to your computer and use it in GitHub Desktop.
Save yangwao/5a0a7ad54e668df5a8fca3fe62db2058 to your computer and use it in GitHub Desktop.
sudo BLUEBIRD_DEBUG=true npm5 i -g standard-readme
⫸ bash
bash-3.2$ sudo BLUEBIRD_DEBUG=true npm5 i -g standard-readme
npm notice BETA npm5 is beta software. Please see https://github.com/npm/npm/issues/16510 for known issues, and please file a new one if you find something new.
npm ERR! uid must be an unsigned int
npm ERR! A complete log of this run can be found in:
npm ERR! /Users/wao/.npm/_logs/2017-05-07T11_18_31_111Z-debug.log
bash-3.2$ cat /Users/wao/.npm/_logs/2017-05-07T11_18_31_111Z-debug.log
0 info it worked if it ends with ok
1 verbose cli [ '/usr/local/bin/node',
1 verbose cli '/usr/local/bin/npm5',
1 verbose cli 'i',
1 verbose cli '-g',
1 verbose cli 'standard-readme' ]
2 info using npm@5.0.0-beta.43
3 info using node@v7.9.0
4 notice BETA npm5 is beta software. Please see https://github.com/npm/npm/issues/16510 for known issues, and please file a new one if you find something new.
5 silly install loadCurrentTree
6 silly install readGlobalPackageData
7 http fetch GET 200 https://registry.npmjs.org/standard-readme 30ms (from cache)
8 verbose pacote tag manifest for standard-readme@latest fetched in 53ms
9 silly install normalizeTree
10 silly install loadIdealTree
11 silly install cloneCurrentTreeToIdealTree
12 silly install loadShrinkwrap
13 silly install loadAllDepsIntoIdealTree
14 silly resolveWithNewModule standard-readme@1.0.28 checking installable status
15 silly currentTree lib
15 silly currentTree └── standard-readme@1.0.28
16 silly idealTree lib
16 silly idealTree └── standard-readme@1.0.28
17 silly install generateActionsToTake
18 silly diffTrees action count 1
19 silly diffTrees update standard-readme@1.0.28
20 silly decomposeActions action count 9
21 silly decomposeActions remove standard-readme@1.0.28
22 silly decomposeActions fetch standard-readme@1.0.28
23 silly decomposeActions extract standard-readme@1.0.28
24 silly decomposeActions test standard-readme@1.0.28
25 silly decomposeActions preinstall standard-readme@1.0.28
26 silly decomposeActions build standard-readme@1.0.28
27 silly decomposeActions install standard-readme@1.0.28
28 silly decomposeActions postinstall standard-readme@1.0.28
29 silly decomposeActions finalize standard-readme@1.0.28
30 silly install executeActions
31 silly doSerial global-install 0
32 verbose correctMkdir /Users/wao/.npm/_locks correctMkdir not in flight; initializing
33 verbose lock using /Users/wao/.npm/_locks/staging-3a08f0df5026584d.lock for /usr/local/lib/node_modules/.staging
34 silly doParallel extract 1
35 silly extract standard-readme@1.0.28
36 silly pacote trying standard-readme@latest by hash: sha1-K757jYzqpuGhrbDm4SgIIfskpKY=
37 verbose stack TypeError: uid must be an unsigned int
37 verbose stack at Object.fs.chown (fs.js:1187:11)
37 verbose stack at Object.chown (/usr/local/lib/node_modules/npm5/node_modules/graceful-fs/polyfills.js:259:17)
37 verbose stack at /usr/local/lib/node_modules/npm5/node_modules/chownr/chownr.js:12:43
37 verbose stack at go$readdir$cb (/usr/local/lib/node_modules/npm5/node_modules/graceful-fs/graceful-fs.js:149:14)
37 verbose stack at FSReqWrap.oncomplete (fs.js:114:15)
38 verbose cwd /Users/wao
39 verbose Darwin 16.5.0
40 verbose argv "/usr/local/bin/node" "/usr/local/bin/npm5" "i" "-g" "standard-readme"
41 verbose node v7.9.0
42 verbose npm v5.0.0-beta.43
43 error uid must be an unsigned int
44 verbose exit [ 1, true ]
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment