Skip to content

Instantly share code, notes, and snippets.

@nbarbettini
Created September 23, 2016 19:17
Show Gist options
  • Save nbarbettini/f921e45641a67c9eb5d6a6dea028ed0c to your computer and use it in GitHub Desktop.
Save nbarbettini/f921e45641a67c9eb5d6a6dea028ed0c to your computer and use it in GitHub Desktop.
npm install hangs on Windows
npm : npm info it worked if it ends with ok
At line:1 char:1
+ npm -ddd i stormpath-sdk-angularjs 2> log.txt
+ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
+ CategoryInfo : NotSpecified: (npm info it worked if it ends with ok:String) [], RemoteException
+ FullyQualifiedErrorId : NativeCommandError
npm
verb
cli
[ 'C:\\Program Files\\nodejs\\node.exe',
npm
verb
cli 'C:\\Users\\nate\\AppData\\Roaming\\npm\\node_modules\\npm\\bin\\npm-cli.js',
npm
verb cli '-ddd',
npm
verb
cli 'i',
npm
verb
cli
'stormpath-sdk-angularjs' ]
npm
info
using
npm@3.10.8
npm
info
using
node@v6.6.0
npm
sill loadCurrentTree Starting
npm
sill install
loadCurrentTree
npm
sill
install
readLocalPackageData
npm
sill fetchPackageMetaData stormpath-sdk-angularjs
npm
sill fetchNamedPackageData stormpath-sdk-angularjs
npm
sill
mapToRegistry
name stormpath-sdk-angularjs
npm
sill
mapToRegistry
using default registry
npm
sill
mapToRegistry
registry https://registry.npmjs.org/
npm
sill mapToRegistry
data Result {
npm
sill
mapToRegistry
raw: 'stormpath-sdk-angularjs',
npm
sill
mapToRegistry
scope: null,
npm
sill
mapToRegistry
escapedName: 'stormpath-sdk-angularjs',
npm
sill
mapToRegistry
name: 'stormpath-sdk-angularjs',
npm
sill
mapToRegistry
rawSpec: '',
npm
sill
mapToRegistry
spec: 'latest',
npm
sill
mapToRegistry
type: 'tag' }
npm
sill
mapToRegistry
uri https://registry.npmjs.org/stormpath-sdk-angularjs
npm
verb request uri https://registry.npmjs.org/stormpath-sdk-angularjs
npm
verb
request
no auth needed
npm
info attempt registry request try #1 at 12:16:39 PM
npm
verb request id
f49586966726cd4b
npm
verb etag "B18K8LH63OJEU3CAZKC6W6Z4R"
npm
http request
GET https://registry.npmjs.org/stormpath-sdk-angularjs
npm
http 304 https://registry.npmjs.org/stormpath-sdk-angularjs
npm
verb headers
{ date: 'Fri, 23 Sep 2016 19:16:39 GMT',
npm
verb
headers
via: '1.1 varnish',
npm
verb
headers
'cache-control': 'max-age=300',
npm
verb
headers
etag: '"B18K8LH63OJEU3CAZKC6W6Z4R"',
npm
verb
headers age: '112',
npm
verb
headers
connection: 'keep-alive',
npm
verb
headers 'x-served-by': 'cache-sea1927-SEA',
npm verb
headers
'x-cache': 'HIT',
npm
verb
headers
'x-cache-hits': '1',
npm verb headers
'x-timer': 'S1474658199.718962,VS0,VE0',
npm
verb
headers
vary: 'Accept-Encoding' }
npm
sill get
cb [ 304,
npm
sill
get
{ date: 'Fri, 23 Sep 2016 19:16:39 GMT',
npm
sill
get
via: '1.1 varnish',
npm
sill
get
'cache-control': 'max-age=300',
npm
sill
get
etag: '"B18K8LH63OJEU3CAZKC6W6Z4R"',
npm
sill
get
age: '112',
npm
sill
get
connection: 'keep-alive',
npm sill
get
'x-served-by': 'cache-sea1927-SEA',
npm
sill
get
'x-cache': 'HIT',
npm
sill
get
'x-cache-hits': '1',
npm sill get
'x-timer': 'S1474658199.718962,VS0,VE0',
npm
sill
get vary: 'Accept-Encoding' } ]
npm
verb
etag
https://registry.npmjs.org/stormpath-sdk-angularjs from cache
npm
verb
get
saving stormpath-sdk-angularjs to
C:\Users\nate\AppData\Roaming\npm-cache\registry.npmjs.org\stormpath-sdk-angularjs\.cache.json
npm
verb correctMkdir
C:\Users\nate\AppData\Roaming\npm-cache correctMkdir not in flight; initializing
npm
sill install normalizeTree
npm
sill loadCurrentTree Finishing
npm
sill loadIdealTree Starting
npm
sill install loadIdealTree
npm
sill cloneCurrentTree Starting
npm
sill install
cloneCurrentTreeToIdealTree
npm
sill cloneCurrentTree
Finishing
npm
sill
loadShrinkwrap
Starting
npm
sill install loadShrinkwrap
npm
sill loadShrinkwrap Finishing
npm
sill
loadAllDepsIntoIdealTree
Starting
npm
sill install
loadAllDepsIntoIdealTree
npm
sill resolveWithNewModule stormpath-sdk-angularjs@1.1.0 checking installable status
npm
sill cache add args [ 'stormpath-sdk-angularjs', null ]
npm
verb cache add spec stormpath-sdk-angularjs
npm
sill cache add parsed spec Result {
npm
sill
cache add raw: 'stormpath-sdk-angularjs',
npm
sill
cache add
scope: null,
npm
sill
cache add
escapedName: 'stormpath-sdk-angularjs',
npm sill
cache add
name: 'stormpath-sdk-angularjs',
npm
sill
cache add
rawSpec: '',
npm
sill cache add spec: 'latest',
npm
sill
cache add
type: 'tag' }
npm
sill addNamed stormpath-sdk-angularjs@latest
npm
verb
addNamed
"latest" is being treated as a dist-tag for stormpath-sdk-angularjs
npm
info addNameTag [ 'stormpath-sdk-angularjs', 'latest' ]
npm
sill mapToRegistry
name stormpath-sdk-angularjs
npm
sill mapToRegistry using default registry
npm sill mapToRegistry
registry https://registry.npmjs.org/
npm
sill
mapToRegistry
data Result {
npm
sill
mapToRegistry
raw: 'stormpath-sdk-angularjs',
npm
sill
mapToRegistry
scope: null,
npm
sill
mapToRegistry
escapedName: 'stormpath-sdk-angularjs',
npm
sill
mapToRegistry
name: 'stormpath-sdk-angularjs',
npm
sill
mapToRegistry
rawSpec: '',
npm
sill
mapToRegistry
spec: 'latest',
npm
sill
mapToRegistry
type: 'tag' }
npm
sill
mapToRegistry
uri https://registry.npmjs.org/stormpath-sdk-angularjs
npm
verb addNameTag
registry:https://registry.npmjs.org/stormpath-sdk-angularjs not in flight; fetching
npm
verb get
https://registry.npmjs.org/stormpath-sdk-angularjs not expired, no request
npm
sill addNameTag
next cb for stormpath-sdk-angularjs with tag latest
npm
sill addNamed stormpath-sdk-angularjs@1.1.0
npm
verb addNamed "1.1.0" is a plain semver version for stormpath-sdk-angularjs
npm
sill cache afterAdd stormpath-sdk-angularjs@1.1.0
npm
verb afterAdd
C:\Users\nate\AppData\Roaming\npm-cache\stormpath-sdk-angularjs\1.1.0\package\package.json not in flight; writing
npm
verb
correctMkdir
C:\Users\nate\AppData\Roaming\npm-cache correctMkdir not in flight; initializing
npm
verb afterAdd C:\Users\nate\AppData\Roaming\npm-cache\stormpath-sdk-angularjs\1.1.0\package\package.json written
npm
sill loadAllDepsIntoIdealTree Finishing
npm
sill loadIdealTree Finishing
npm
sill currentTree temp
npm
sill idealTree temp
npm
sill
idealTree
`-- stormpath-sdk-angularjs@1.1.0
npm
sill generateActionsToTake Starting
npm
sill
install
generateActionsToTake
npm
sill generateActionsToTake Finishing
npm
sill diffTrees
action count 1
npm
sill diffTrees
add stormpath-sdk-angularjs@1.1.0
npm
sill decomposeActions action count 8
npm
sill decomposeActions fetch stormpath-sdk-angularjs@1.1.0
npm
sill decomposeActions extract stormpath-sdk-angularjs@1.1.0
npm
sill decomposeActions test stormpath-sdk-angularjs@1.1.0
npm
sill
decomposeActions
preinstall stormpath-sdk-angularjs@1.1.0
npm
sill
decomposeActions
build stormpath-sdk-angularjs@1.1.0
npm
sill
decomposeActions install stormpath-sdk-angularjs@1.1.0
npm
sill
decomposeActions
postinstall stormpath-sdk-angularjs@1.1.0
npm
sill
decomposeActions
finalize stormpath-sdk-angularjs@1.1.0
npm
sill
runTopLevelLifecycles
Starting
npm
sill
executeActions
Starting
npm
sill
install
executeActions
npm
sill
doSerial
global-install 0
npm
sill doParallel fetch 1
npm
verb
correctMkdir
C:\Users\nate\AppData\Roaming\npm-cache\_locks correctMkdir not in flight; initializing
npm
verb lock using C:\Users\nate\AppData\Roaming\npm-cache\_locks\staging-4bc7802aac4346ab.lock for
C:\Users\nate\Documents\temp\node_modules\.staging
npm
sill doParallel extract 1
npm
sill
extract
stormpath-sdk-angularjs@1.1.0
npm
verb unbuild node_modules\.staging\stormpath-sdk-angularjs-6a4b0de4
npm
sill
gentlyRm
C:\Users\nate\Documents\temp\node_modules\.staging\stormpath-sdk-angularjs-6a4b0de4 is being purged from base
C:\Users\nate\Documents\temp
npm
verb
gentlyRm don't care about contents; nuking
C:\Users\nate\Documents\temp\node_modules\.staging\stormpath-sdk-angularjs-6a4b0de4
npm
verb
tar
unpack C:\Users\nate\AppData\Roaming\npm-cache\stormpath-sdk-angularjs\1.1.0\package.tgz
npm
verb
tar
unpacking to C:\Users\nate\Documents\temp\node_modules\.staging\stormpath-sdk-angularjs-6a4b0de4
npm
sill
gentlyRm
C:\Users\nate\Documents\temp\node_modules\.staging\stormpath-sdk-angularjs-6a4b0de4 is being purged
npm
verb
gentlyRm
don't care about contents; nuking C:\Users\nate\Documents\temp\node_modules\.staging\stormpath-sdk-angularjs-6a4b0de4
npm
sill
gunzTarPerm
modes [ '777', '666' ]
npm
sill gunzTarPerm extractEntry package.json
npm
sill gunzTarPerm modified mode [ 'package.json', 420, 438 ]
npm
sill gunzTarPerm extractEntry .npmignore
npm
sill gunzTarPerm modified mode [ '.npmignore', 420, 438 ]
npm
sill gunzTarPerm
extractEntry README.md
npm
sill
gunzTarPerm
modified mode [ 'README.md', 420, 438 ]
npm
sill gunzTarPerm
extractEntry LICENSE
npm
sill
gunzTarPerm
modified mode [ 'LICENSE', 420, 438 ]
npm
sill
gunzTarPerm
extractEntry Gruntfile.js
npm
sill
gunzTarPerm modified mode [ 'Gruntfile.js', 420, 438 ]
npm
sill gunzTarPerm extractEntry index.js
npm
sill gunzTarPerm
modified mode [ 'index.js', 420, 438 ]
npm
sill
gunzTarPerm
extractEntry protractor.conf.js
npm
sill gunzTarPerm
modified mode [ 'protractor.conf.js', 420, 438 ]
npm
sill gunzTarPerm extractEntry .tmp/build/*.js/stormpath-sdk-angularjs.js
npm
sill gunzTarPerm modified mode [ '.tmp/build/*.js/stormpath-sdk-angularjs.js', 420, 438 ]
npm
sill gunzTarPerm extractEntry .tmp/build/*.js/stormpath-sdk-angularjs.min.js
npm
sill gunzTarPerm
modified mode [ '.tmp/build/*.js/stormpath-sdk-angularjs.min.js', 420, 438 ]
npm
sill gunzTarPerm extractEntry .tmp/build/*.js/stormpath-sdk-angularjs.tpls.js
npm
sill
gunzTarPerm
modified mode [ '.tmp/build/*.js/stormpath-sdk-angularjs.tpls.js', 420, 438 ]
npm
sill
gunzTarPerm
extractEntry .tmp/build/*.js/stormpath-sdk-angularjs.tpls.min.js
npm
sill gunzTarPerm modified mode [ '.tmp/build/*.js/stormpath-sdk-angularjs.tpls.min.js',
npm
sill
gunzTarPerm
420,
npm
sill
gunzTarPerm
438 ]
npm
sill
gunzTarPerm
extractEntry .tmp/build/stormpath-sdk-angularjs.js
npm
sill gunzTarPerm modified mode [ '.tmp/build/stormpath-sdk-angularjs.js', 420, 438 ]
npm
sill gunzTarPerm extractEntry .tmp/build/stormpath-sdk-angularjs.min.js
npm
sill gunzTarPerm modified mode [ '.tmp/build/stormpath-sdk-angularjs.min.js', 420, 438 ]
npm
sill gunzTarPerm extractEntry .tmp/build/stormpath-sdk-angularjs.tpls.js
npm
sill gunzTarPerm modified mode [ '.tmp/build/stormpath-sdk-angularjs.tpls.js', 420, 438 ]
npm
sill
gunzTarPerm
extractEntry .tmp/build/stormpath-sdk-angularjs.tpls.min.js
npm
sill
gunzTarPerm
modified mode [ '.tmp/build/stormpath-sdk-angularjs.tpls.min.js', 420, 438 ]
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment