Skip to content

Instantly share code, notes, and snippets.

@claudiopro
Created June 24, 2017 17:14
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save claudiopro/3529f543df192d070a24a423e4449a65 to your computer and use it in GitHub Desktop.
Save claudiopro/3529f543df192d070a24a423e4449a65 to your computer and use it in GitHub Desktop.
debug log for `npm i app.json -g` when a file named `app.json` exists
0 info it worked if it ends with ok
1 verbose cli [ '/Users/procidac/.nvm/versions/node/v7.7.2/bin/node',
1 verbose cli '/Users/procidac/.nvm/versions/node/v7.7.2/bin/npm',
1 verbose cli 'i',
1 verbose cli 'app.json',
1 verbose cli '-g' ]
2 info using npm@4.1.2
3 info using node@v7.7.2
4 silly loadCurrentTree Starting
5 silly install loadCurrentTree
6 silly install readGlobalPackageData
7 silly fetchPackageMetaData app.json
8 silly fetchOtherPackageData app.json
9 silly cache add args [ 'app.json', null ]
10 verbose cache add spec app.json
11 silly cache add parsed spec Result {
11 silly cache add raw: 'app.json',
11 silly cache add scope: null,
11 silly cache add escapedName: 'app.json',
11 silly cache add name: null,
11 silly cache add rawSpec: 'app.json',
11 silly cache add spec: '/Users/procidac/Development/gh/claudiopro/slack-slashcommand-urbandictionary/app.json',
11 silly cache add type: 'local' }
12 silly addLocalTarball shasum (computed) 01f40d7f20206d1290edb52e5ec0c94ee94a9505
13 verbose addTmpTarball /Users/procidac/Development/gh/claudiopro/slack-slashcommand-urbandictionary/app.json not in flight; adding
14 verbose correctMkdir /Users/procidac/.npm correctMkdir not in flight; initializing
15 verbose addTmpTarball validating metadata from /Users/procidac/Development/gh/claudiopro/slack-slashcommand-urbandictionary/app.json
16 verbose tar unpack /Users/procidac/Development/gh/claudiopro/slack-slashcommand-urbandictionary/app.json
17 verbose tar unpacking to /var/folders/sk/h8tg1pw14y76fj3mnp3g7bn16_139w/T/npm-10403-e08a069a/unpack-50e613ec
18 silly gentlyRm /var/folders/sk/h8tg1pw14y76fj3mnp3g7bn16_139w/T/npm-10403-e08a069a/unpack-50e613ec is being purged
19 verbose gentlyRm don't care about contents; nuking /var/folders/sk/h8tg1pw14y76fj3mnp3g7bn16_139w/T/npm-10403-e08a069a/unpack-50e613ec
20 silly gunzTarPerm modes [ '755', '644' ]
21 error not a package /Users/procidac/Development/gh/claudiopro/slack-slashcommand-urbandictionary/app.json
22 error addLocal Could not install /Users/procidac/Development/gh/claudiopro/slack-slashcommand-urbandictionary/app.json
23 silly fetchPackageMetaData Error: ENOENT: no such file or directory, open '/var/folders/sk/h8tg1pw14y76fj3mnp3g7bn16_139w/T/npm-10403-e08a069a/unpack-50e613ec/package.json'
23 silly fetchPackageMetaData error for app.json { Error: ENOENT: no such file or directory, open '/var/folders/sk/h8tg1pw14y76fj3mnp3g7bn16_139w/T/npm-10403-e08a069a/unpack-50e613ec/package.json'
23 silly fetchPackageMetaData errno: -2,
23 silly fetchPackageMetaData code: 'ENOENT',
23 silly fetchPackageMetaData syscall: 'open',
23 silly fetchPackageMetaData path: '/var/folders/sk/h8tg1pw14y76fj3mnp3g7bn16_139w/T/npm-10403-e08a069a/unpack-50e613ec/package.json' }
24 silly rollbackFailedOptional Starting
25 verbose stack TypeError: Cannot read property 'path' of null
25 verbose stack at Installer.rollbackFailedOptional (/Users/procidac/.nvm/versions/node/v7.7.2/lib/node_modules/npm/lib/install.js:511:29)
25 verbose stack at Array.<anonymous> (/Users/procidac/.nvm/versions/node/v7.7.2/lib/node_modules/npm/node_modules/slide/lib/bind-actor.js:15:8)
25 verbose stack at LOOP (/Users/procidac/.nvm/versions/node/v7.7.2/lib/node_modules/npm/node_modules/slide/lib/chain.js:15:14)
25 verbose stack at /Users/procidac/.nvm/versions/node/v7.7.2/lib/node_modules/npm/node_modules/slide/lib/chain.js:18:7
25 verbose stack at /Users/procidac/.nvm/versions/node/v7.7.2/lib/node_modules/npm/lib/install.js:337:5
25 verbose stack at Array.<anonymous> (/Users/procidac/.nvm/versions/node/v7.7.2/lib/node_modules/npm/node_modules/slide/lib/bind-actor.js:15:8)
25 verbose stack at LOOP (/Users/procidac/.nvm/versions/node/v7.7.2/lib/node_modules/npm/node_modules/slide/lib/chain.js:15:14)
25 verbose stack at chain (/Users/procidac/.nvm/versions/node/v7.7.2/lib/node_modules/npm/node_modules/slide/lib/chain.js:20:5)
25 verbose stack at /Users/procidac/.nvm/versions/node/v7.7.2/lib/node_modules/npm/lib/install.js:294:5
25 verbose stack at /Users/procidac/.nvm/versions/node/v7.7.2/lib/node_modules/npm/node_modules/slide/lib/chain.js:16:22
26 verbose cwd /Users/procidac/Development/gh/claudiopro/slack-slashcommand-urbandictionary
27 error Darwin 16.5.0
28 error argv "/Users/procidac/.nvm/versions/node/v7.7.2/bin/node" "/Users/procidac/.nvm/versions/node/v7.7.2/bin/npm" "i" "app.json" "-g"
29 error node v7.7.2
30 error npm v4.1.2
31 error Cannot read property 'path' of null
32 error If you need help, you may report this error at:
32 error <https://github.com/npm/npm/issues>
33 verbose exit [ 1, true ]
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment