Skip to content

Instantly share code, notes, and snippets.

@boneskull
Created August 3, 2014 09:21
Show Gist options
  • Save boneskull/0db861938e03c72031f4 to your computer and use it in GitHub Desktop.
Save boneskull/0db861938e03c72031f4 to your computer and use it in GitHub Desktop.
debug log for npm git cloning issue
0 info it worked if it ends with ok
1 verbose cli [ 'node',
1 verbose cli '/usr/local/bin/npm',
1 verbose cli 'install',
1 verbose cli 'git://github.com/boneskull/node-brickset' ]
2 info using npm@2.0.0-alpha-5
3 info using node@v0.11.13
4 verbose cache add [ 'git://github.com/boneskull/node-brickset', null ]
5 verbose cache add spec="git://github.com/boneskull/node-brickset" args=["git://github.com/boneskull/node-brickset",null]
6 verbose parsed spec { raw: 'git://github.com/boneskull/node-brickset',
6 verbose parsed spec scope: null,
6 verbose parsed spec name: null,
6 verbose parsed spec rawSpec: 'git://github.com/boneskull/node-brickset',
6 verbose parsed spec spec: 'git://github.com/boneskull/node-brickset',
6 verbose parsed spec type: 'git' }
7 verbose addRemoteGit u="git://github.com/boneskull/node-brickset" silent=false
8 silly addRemoteGit parsed { protocol: 'git:',
8 silly addRemoteGit slashes: true,
8 silly addRemoteGit auth: null,
8 silly addRemoteGit host: 'github.com',
8 silly addRemoteGit port: null,
8 silly addRemoteGit hostname: 'github.com',
8 silly addRemoteGit hash: null,
8 silly addRemoteGit search: '',
8 silly addRemoteGit query: {},
8 silly addRemoteGit pathname: '/boneskull/node-brickset',
8 silly addRemoteGit path: '/boneskull/node-brickset',
8 silly addRemoteGit href: 'git://github.com/boneskull/node-brickset' }
9 silly lockFile 167df522-thub-com-boneskull-node-brickset git://github.com/boneskull/node-brickset
10 verbose lock git://github.com/boneskull/node-brickset /Users/boneskull/.npm/167df522-thub-com-boneskull-node-brickset.lock
11 verbose addRemoteGit [ 'git://github.com/boneskull/node-brickset', 'master' ]
12 verbose git remote.origin.url git://github.com/boneskull/node-brickset
13 verbose git fetch -a origin (git://github.com/boneskull/node-brickset)
14 error Failed to change folder ownership under npm cache for %s /Users/boneskull/.npm/_git-remotes/git-github-com-boneskull-node-brickset-167df522
15 silly lockFile 167df522-thub-com-boneskull-node-brickset git://github.com/boneskull/node-brickset
16 silly lockFile 167df522-thub-com-boneskull-node-brickset git://github.com/boneskull/node-brickset
17 error Error: EPERM, chown '/Users/boneskull/.npm/_git-remotes/git-github-com-boneskull-node-brickset-167df522/description'
17 error at Error (native)
17 error { [Error: EPERM, chown '/Users/boneskull/.npm/_git-remotes/git-github-com-boneskull-node-brickset-167df522/description']
17 error stack: 'Error: EPERM, chown \'/Users/boneskull/.npm/_git-remotes/git-github-com-boneskull-node-brickset-167df522/description\'\n at Error (native)',
17 error errno: -1,
17 error code: 'EPERM',
17 error path: '/Users/boneskull/.npm/_git-remotes/git-github-com-boneskull-node-brickset-167df522/description' }
18 error Please try running this command again as root/Administrator.
19 error System Darwin 13.3.0
20 error command "node" "/usr/local/bin/npm" "install" "git://github.com/boneskull/node-brickset"
21 error cwd /private/tmp
22 error node -v v0.11.13
23 error npm -v 2.0.0-alpha-5
24 error path /Users/boneskull/.npm/_git-remotes/git-github-com-boneskull-node-brickset-167df522/description
25 error code EPERM
26 error errno -1
27 error stack Error: EPERM, chown '/Users/boneskull/.npm/_git-remotes/git-github-com-boneskull-node-brickset-167df522/description'
27 error stack at Error (native)
28 verbose exit [ -1, true ]
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment