Description
Hi
I'm trying to add the library in my website project, but when i run "npm install --save geo-from-ip --verbose" i see this stacktrace:
`npm info it worked if it ends with ok
npm verb cli [
npm verb cli '/usr/local/bin/node',
npm verb cli '/usr/local/bin/npm',
npm verb cli 'install',
npm verb cli '--save',
npm verb cli 'geo-from-ip',
npm verb cli '--verbose'
npm verb cli ]
npm info using [email protected]
npm info using [email protected]
npm verb npm-session e2b8d1595f930215
npm http fetch GET 200 https://registry.npmjs.org/geo-from-ip 107ms (from cache)
npm timing stage:loadCurrentTree Completed in 16925ms
npm timing stage:loadIdealTree:cloneCurrentTree Completed in 140ms
npm timing stage:loadIdealTree:loadShrinkwrap Completed in 16547ms
npm http fetch GET 200 https://registry.npmjs.org/maxmind-db-reader 254ms (from cache)
npm http fetch GET 304 https://registry.npmjs.org/targz 671ms (from cache)
npm http fetch GET 304 https://registry.npmjs.org/node-fetch 675ms (from cache)
npm http fetch GET 200 https://registry.npmjs.org/big-integer 15ms (from cache)
npm http fetch GET 304 https://registry.npmjs.org/ip-address 64ms (from cache)
npm http fetch GET 304 https://registry.npmjs.org/cliff 310ms (from cache)
npm http fetch GET 304 https://registry.npmjs.org/cli 315ms (from cache)
npm http fetch GET 304 https://registry.npmjs.org/lodash.merge 379ms (from cache)
npm http fetch GET 304 https://registry.npmjs.org/jsbn 389ms (from cache)
npm http fetch GET 304 https://registry.npmjs.org/lodash.find 383ms (from cache)
npm http fetch GET 304 https://registry.npmjs.org/sprintf 394ms (from cache)
npm WARN deprecated [email protected]: The sprintf package is deprecated in favor of sprintf-js.
npm http fetch GET 304 https://registry.npmjs.org/glob 79ms (from cache)
npm http fetch GET 304 https://registry.npmjs.org/minimatch 83ms (from cache)
npm WARN deprecated [email protected]: Please update to minimatch 3.0.2 or higher to avoid a RegExp DoS issue
npm http fetch GET 304 https://registry.npmjs.org/sigmund 192ms (from cache)
npm http fetch GET 304 https://registry.npmjs.org/lru-cache 195ms (from cache)
npm http fetch GET 304 https://registry.npmjs.org/winston 180ms (from cache)
npm http fetch GET 304 https://registry.npmjs.org/colors 184ms (from cache)
npm http fetch GET 304 https://registry.npmjs.org/eyes 186ms (from cache)
npm http fetch GET 200 https://registry.npmjs.org/pkginfo 30ms (from cache)
npm http fetch GET 304 https://registry.npmjs.org/async 305ms (from cache)
npm http fetch GET 304 https://registry.npmjs.org/stack-trace 304ms (from cache)
npm http fetch GET 304 https://registry.npmjs.org/cycle 309ms (from cache)
npm http fetch GET 200 https://registry.npmjs.org/lodash._basefind 27ms (from cache)
npm http fetch GET 200 https://registry.npmjs.org/lodash._basefindindex 28ms (from cache)
npm http fetch GET 304 https://registry.npmjs.org/lodash.keys 71ms (from cache)
npm http fetch GET 304 https://registry.npmjs.org/lodash.isarray 78ms (from cache)
npm http fetch GET 304 https://registry.npmjs.org/lodash._baseeach 768ms (from cache)
npm http fetch GET 304 https://registry.npmjs.org/lodash._basecallback 783ms (from cache)
npm http fetch GET 304 https://registry.npmjs.org/lodash._bindcallback 169ms (from cache)
npm http fetch GET 304 https://registry.npmjs.org/lodash._baseisequal 174ms (from cache)
npm http fetch GET 304 https://registry.npmjs.org/lodash.pairs 744ms (from cache)
npm http fetch GET 304 https://registry.npmjs.org/lodash.istypedarray 105ms (from cache)
npm http fetch GET 304 https://registry.npmjs.org/lodash._getnative 315ms (from cache)
npm http fetch GET 304 https://registry.npmjs.org/lodash.isarguments 316ms (from cache)
npm http fetch GET 304 https://registry.npmjs.org/lodash.isplainobject 463ms (from cache)
npm http fetch GET 304 https://registry.npmjs.org/lodash._arraycopy 475ms (from cache)
npm http fetch GET 304 https://registry.npmjs.org/lodash._createassigner 472ms (from cache)
npm http fetch GET 304 https://registry.npmjs.org/lodash.toplainobject 481ms (from cache)
npm http fetch GET 304 https://registry.npmjs.org/lodash.keysin 1045ms (from cache)
npm http fetch GET 304 https://registry.npmjs.org/lodash._arrayeach 1051ms (from cache)
npm http fetch GET 304 https://registry.npmjs.org/lodash._isiterateecall 79ms (from cache)
npm http fetch GET 304 https://registry.npmjs.org/lodash.restparam 87ms (from cache)
npm http fetch GET 304 https://registry.npmjs.org/lodash._basefor 729ms (from cache)
npm http fetch GET 304 https://registry.npmjs.org/lodash._basecopy 302ms (from cache)
npm http fetch GET 304 https://registry.npmjs.org/tar-fs 103ms (from cache)
npm http fetch GET 200 https://registry.npmjs.org/mkdirp 185ms (from cache)
npm http fetch GET 304 https://registry.npmjs.org/pump 410ms (from cache)
npm http fetch GET 304 https://registry.npmjs.org/chownr 424ms (from cache)
npm http fetch GET 304 https://registry.npmjs.org/tar-stream 445ms (from cache)
npm http fetch GET 304 https://registry.npmjs.org/buffer-alloc 601ms (from cache)
npm http fetch GET 304 https://registry.npmjs.org/bl 605ms (from cache)
npm http fetch GET 304 https://registry.npmjs.org/fs-constants 613ms (from cache)
npm http fetch GET 304 https://registry.npmjs.org/to-buffer 625ms (from cache)
npm http fetch GET 304 https://registry.npmjs.org/readable-stream 637ms (from cache)
npm http fetch GET 304 https://registry.npmjs.org/string_decoder 167ms (from cache)
npm http fetch GET 304 https://registry.npmjs.org/buffer-fill 377ms (from cache)
npm http fetch GET 304 https://registry.npmjs.org/buffer-alloc-unsafe 404ms (from cache)
npm timing stage:loadIdealTree:loadAllDepsIntoIdealTree Completed in 37781ms
npm timing stage:loadIdealTree Completed in 60094ms
npm timing stage:generateActionsToTake Completed in 739ms
npm verb correctMkdir /Users/gmgallo/.npm/_locks correctMkdir not in flight; initializing
npm verb lock using /Users/gmgallo/.npm/_locks/staging-a2520ced5a2e0b11.lock for /Users/gmgallo/Lavoro/Progetti/workspace/Gynnico/gynnicoweb/node_modules/.staging
npm timing audit submit Completed in 3018ms
npm http fetch POST 200 https://registry.npmjs.org/-/npm/v1/security/audits/quick 3018ms
npm timing audit body Completed in 2ms
npm timing action:extract Completed in 6024ms
npm timing action:finalize Completed in 758ms
npm timing action:refresh-package-json Completed in 1590ms
npm info lifecycle [email protected]preinstall: [email protected]preinstall: [email protected]
npm info lifecycle [email protected]
npm info lifecycle [email protected]preinstall: [email protected]preinstall: [email protected]
npm info lifecycle [email protected]
npm info lifecycle [email protected]preinstall: [email protected]preinstall: [email protected]
npm info lifecycle [email protected]
npm info lifecycle [email protected]preinstall: [email protected]preinstall: [email protected]
npm info lifecycle [email protected]
npm info lifecycle [email protected]preinstall: [email protected]preinstall: [email protected]
npm info lifecycle [email protected]
npm info lifecycle [email protected]preinstall: [email protected]preinstall: [email protected]
npm info lifecycle [email protected]
npm info lifecycle [email protected]preinstall: [email protected]preinstall: [email protected]
npm info lifecycle [email protected]
npm info lifecycle [email protected]preinstall: [email protected]preinstall: [email protected]
npm info lifecycle [email protected]
npm info lifecycle [email protected]preinstall: [email protected]preinstall: [email protected]
npm info lifecycle [email protected]
npm info lifecycle [email protected]preinstall: [email protected]preinstall: [email protected]
npm info lifecycle [email protected]
npm info lifecycle [email protected]preinstall: [email protected]preinstall: [email protected]
npm info lifecycle [email protected]
npm info lifecycle [email protected]preinstall: [email protected]preinstall: [email protected]
npm info lifecycle [email protected]
npm info lifecycle [email protected]preinstall: [email protected]preinstall: [email protected]
npm info lifecycle [email protected]
npm info lifecycle [email protected]preinstall: [email protected]preinstall: [email protected]
npm info lifecycle [email protected]
npm info lifecycle [email protected]preinstall: [email protected]preinstall: [email protected]
npm info lifecycle [email protected]
npm info lifecycle [email protected]preinstall: [email protected]preinstall: [email protected]
npm info lifecycle [email protected]
npm info lifecycle [email protected]preinstall: [email protected]preinstall: [email protected]
npm info lifecycle [email protected]
npm info lifecycle [email protected]preinstall: [email protected]preinstall: [email protected]
npm info lifecycle [email protected]
npm info lifecycle [email protected]preinstall: [email protected]preinstall: [email protected]
npm info lifecycle [email protected]
npm info lifecycle [email protected]preinstall: [email protected]preinstall: [email protected]
npm info lifecycle [email protected]
npm info lifecycle [email protected]preinstall: [email protected]preinstall: [email protected]
npm info lifecycle [email protected]
npm info lifecycle [email protected]preinstall: [email protected]preinstall: [email protected]
npm info lifecycle [email protected]
npm info lifecycle [email protected]preinstall: [email protected]preinstall: [email protected]
npm info lifecycle [email protected]
npm info lifecycle [email protected]preinstall: [email protected]preinstall: [email protected]
npm info lifecycle [email protected]
npm info lifecycle [email protected]preinstall: [email protected]preinstall: [email protected]
npm info lifecycle [email protected]
npm info lifecycle [email protected]preinstall: [email protected]preinstall: [email protected]
npm info lifecycle [email protected]
npm info lifecycle [email protected]preinstall: [email protected]preinstall: [email protected]
npm info lifecycle [email protected]
npm info lifecycle [email protected]preinstall: [email protected]preinstall: [email protected]
npm info lifecycle [email protected]
npm info lifecycle [email protected]preinstall: [email protected]preinstall: [email protected]
npm info lifecycle [email protected]
npm info lifecycle [email protected]preinstall: [email protected]install: [email protected]
npm timing action:preinstall Completed in 166ms
npm info linkStuff [email protected]
npm info linkStuff [email protected]
npm info linkStuff [email protected]
npm info linkStuff [email protected]
npm info linkStuff [email protected]
npm info linkStuff [email protected]
npm info linkStuff [email protected]
npm info linkStuff [email protected]
npm info linkStuff [email protected]
npm info linkStuff [email protected]
npm info linkStuff [email protected]
npm info linkStuff [email protected]
npm info linkStuff [email protected]
npm info linkStuff [email protected]
npm info linkStuff [email protected]
npm info linkStuff [email protected]
npm info linkStuff [email protected]
npm info linkStuff [email protected]
npm info linkStuff [email protected]
npm info linkStuff [email protected]
npm info linkStuff [email protected]
npm info linkStuff [email protected]
npm info linkStuff [email protected]
npm info linkStuff [email protected]
npm info linkStuff [email protected]
npm info linkStuff [email protected]
npm info linkStuff [email protected]
npm info linkStuff [email protected]
npm info linkStuff [email protected]
npm info linkStuff [email protected]
npm info linkStuff [email protected]
npm info linkStuff [email protected]
npm info linkStuff [email protected]
npm info linkStuff [email protected]
npm info linkStuff [email protected]
npm info linkStuff [email protected]
npm info linkStuff [email protected]
npm info linkStuff [email protected]
npm info linkStuff [email protected]
npm info linkStuff [email protected]
npm info linkStuff [email protected]
npm info linkStuff [email protected]
npm info linkStuff [email protected]
npm verb linkBins [
npm verb linkBins { mkdirp: 'bin/cmd.js' },
npm verb linkBins '/Users/gmgallo/Lavoro/Progetti/workspace/Gynnico/gynnicoweb/node_modules/tar-fs/node_modules/.bin',
npm verb linkBins false
npm verb linkBins ]
npm info linkStuff [email protected]
npm info linkStuff [email protected]
npm info linkStuff [email protected]
npm info linkStuff [email protected]
npm info linkStuff [email protected]
npm info linkStuff [email protected]
npm info linkStuff [email protected]
npm info linkStuff [email protected]
npm info linkStuff [email protected]
npm info linkStuff [email protected]
npm info linkStuff [email protected]
npm info linkStuff [email protected]
npm verb linkBins [
npm verb linkBins { ipv6: 'bin/ipv6.js', ipv6grep: 'bin/ipv6grep.js' },
npm verb linkBins '/Users/gmgallo/Lavoro/Progetti/workspace/Gynnico/gynnicoweb/node_modules/maxmind-db-reader/node_modules/.bin',
npm verb linkBins false
npm verb linkBins ]
npm info linkStuff [email protected]
npm verb linkBins [
npm verb linkBins { 'mmdb-geoip': 'repl' },
npm verb linkBins '/Users/gmgallo/Lavoro/Progetti/workspace/Gynnico/gynnicoweb/node_modules/.bin',
npm verb linkBins false
npm verb linkBins ]
npm info linkStuff [email protected]
npm info linkStuff [email protected]
npm info linkStuff [email protected]
npm timing action:build Completed in 275ms
npm info lifecycle [email protected]
npm info lifecycle [email protected]install: [email protected]install: [email protected]
npm info lifecycle [email protected]
npm info lifecycle [email protected]install: [email protected]install: [email protected]
npm info lifecycle [email protected]
npm info lifecycle [email protected]install: [email protected]install: [email protected]
npm info lifecycle [email protected]
npm info lifecycle [email protected]install: [email protected]install: [email protected]
npm info lifecycle [email protected]
npm info lifecycle [email protected]install: [email protected]install: [email protected]
npm info lifecycle [email protected]
npm info lifecycle [email protected]install: [email protected]install: [email protected]
npm info lifecycle [email protected]
npm info lifecycle [email protected]install: [email protected]install: [email protected]
npm info lifecycle [email protected]
npm info lifecycle [email protected]install: [email protected]install: [email protected]
npm info lifecycle [email protected]
npm info lifecycle [email protected]install: [email protected]install: [email protected]
npm info lifecycle [email protected]
npm info lifecycle [email protected]install: [email protected]install: [email protected]
npm info lifecycle [email protected]
npm info lifecycle [email protected]install: [email protected]install: [email protected]
npm info lifecycle [email protected]
npm info lifecycle [email protected]install: [email protected]install: [email protected]
npm info lifecycle [email protected]
npm info lifecycle [email protected]install: [email protected]install: [email protected]
npm info lifecycle [email protected]
npm info lifecycle [email protected]install: [email protected]install: [email protected]
npm info lifecycle [email protected]
npm info lifecycle [email protected]install: [email protected]install: [email protected]
npm info lifecycle [email protected]
npm info lifecycle [email protected]install: [email protected]install: [email protected]
npm info lifecycle [email protected]
npm info lifecycle [email protected]install: [email protected]install: [email protected]
npm info lifecycle [email protected]
npm info lifecycle [email protected]install: [email protected]install: [email protected]
npm info lifecycle [email protected]
npm info lifecycle [email protected]install: [email protected]install: [email protected]
npm info lifecycle [email protected]
npm info lifecycle [email protected]install: [email protected]install: [email protected]
npm info lifecycle [email protected]
npm info lifecycle [email protected]install: [email protected]install: [email protected]
npm info lifecycle [email protected]
npm info lifecycle [email protected]install: [email protected]install: [email protected]
npm info lifecycle [email protected]
npm info lifecycle [email protected]install: [email protected]install: [email protected]
npm info lifecycle [email protected]
npm info lifecycle [email protected]install: [email protected]install: [email protected]
npm info lifecycle [email protected]
npm info lifecycle [email protected]install: [email protected]install: [email protected]
npm info lifecycle [email protected]
npm info lifecycle [email protected]install: [email protected]install: [email protected]
npm info lifecycle [email protected]
npm info lifecycle [email protected]install: [email protected]install: [email protected]
npm info lifecycle [email protected]
npm info lifecycle [email protected]install: [email protected]install: [email protected]
npm info lifecycle [email protected]
npm info lifecycle [email protected]install: [email protected]install: [email protected]
npm info lifecycle [email protected]
npm timing action:install Completed in 43ms
npm info lifecycle [email protected]postinstall: [email protected]postinstall: [email protected]
npm info lifecycle [email protected]
npm info lifecycle [email protected]postinstall: [email protected]postinstall: [email protected]
npm info lifecycle [email protected]
npm info lifecycle [email protected]postinstall: [email protected]postinstall: [email protected]
npm info lifecycle [email protected]
npm info lifecycle [email protected]postinstall: [email protected]postinstall: [email protected]
npm info lifecycle [email protected]
npm info lifecycle [email protected]postinstall: [email protected]postinstall: [email protected]
npm info lifecycle [email protected]
npm info lifecycle [email protected]postinstall: [email protected]postinstall: [email protected]
npm info lifecycle [email protected]
npm info lifecycle [email protected]postinstall: [email protected]postinstall: [email protected]
npm info lifecycle [email protected]
npm info lifecycle [email protected]postinstall: [email protected]postinstall: [email protected]
npm info lifecycle [email protected]
npm info lifecycle [email protected]postinstall: [email protected]postinstall: [email protected]
npm info lifecycle [email protected]
npm info lifecycle [email protected]postinstall: [email protected]postinstall: [email protected]
npm info lifecycle [email protected]
npm info lifecycle [email protected]postinstall: [email protected]postinstall: [email protected]
npm info lifecycle [email protected]
npm info lifecycle [email protected]postinstall: [email protected]postinstall: [email protected]
npm info lifecycle [email protected]
npm info lifecycle [email protected]postinstall: [email protected]postinstall: [email protected]
npm info lifecycle [email protected]
npm info lifecycle [email protected]postinstall: [email protected]postinstall: [email protected]
npm info lifecycle [email protected]
npm info lifecycle [email protected]postinstall: [email protected]postinstall: [email protected]
npm info lifecycle [email protected]
npm info lifecycle [email protected]postinstall: [email protected]postinstall: [email protected]
npm info lifecycle [email protected]
npm info lifecycle [email protected]postinstall: [email protected]postinstall: [email protected]
npm info lifecycle [email protected]
npm info lifecycle [email protected]postinstall: [email protected]postinstall: [email protected]
npm info lifecycle [email protected]
npm info lifecycle [email protected]postinstall: [email protected]postinstall: [email protected]
npm info lifecycle [email protected]
npm info lifecycle [email protected]postinstall: [email protected]postinstall: [email protected]
npm info lifecycle [email protected]
npm info lifecycle [email protected]postinstall: [email protected]postinstall: [email protected]
npm info lifecycle [email protected]
npm info lifecycle [email protected]postinstall: [email protected]postinstall: [email protected]
npm info lifecycle [email protected]
npm info lifecycle [email protected]postinstall: [email protected]postinstall: [email protected]
npm info lifecycle [email protected]
npm info lifecycle [email protected]postinstall: [email protected]postinstall: [email protected]
npm info lifecycle [email protected]
npm info lifecycle [email protected]postinstall: [email protected]postinstall: [email protected]
npm info lifecycle [email protected]
npm info lifecycle [email protected]postinstall: [email protected]postinstall: [email protected]
npm info lifecycle [email protected]
npm info lifecycle [email protected]postinstall: [email protected]postinstall: [email protected]
npm info lifecycle [email protected]
npm info lifecycle [email protected]postinstall: [email protected]postinstall: [email protected]
npm info lifecycle [email protected]
npm info lifecycle [email protected]postinstall: [email protected]postinstall: [email protected]
npm info lifecycle [email protected]
npm info lifecycle [email protected]~postinstall: [email protected]
[email protected] postinstall /Users/gmgallo/Lavoro/Progetti/workspace/Gynnico/gynnicoweb/node_modules/geo-from-ip
node lib/update.js
npm verb lifecycle [email protected]postinstall: unsafe-perm in lifecycle truepostinstall: PATH: /usr/local/lib/node_modules/npm/node_modules/npm-lifecycle/node-gyp-bin:/Users/gmgallo/Lavoro/Progetti/workspace/Gynnico/gynnicoweb/node_modules/geo-from-ip/node_modules/.bin:/Users/gmgallo/Lavoro/Progetti/workspace/Gynnico/gynnicoweb/node_modules/.bin:/Library/Frameworks/Python.framework/Versions/3.8/bin:/usr/local/bin:/usr/bin:/bin:/usr/sbin:/sbin:/Library/Apple/usr/bin:/Applications/Wireshark.app/Contents/MacOS
npm verb lifecycle [email protected]
npm verb lifecycle [email protected]postinstall: CWD: /Users/gmgallo/Lavoro/Progetti/workspace/Gynnico/gynnicoweb/node_modules/geo-from-ippostinstall: Failed to exec postinstall script
npm info lifecycle [email protected]
npm timing action:postinstall Completed in 930ms
npm verb unlock done using /Users/gmgallo/.npm/_locks/staging-a2520ced5a2e0b11.lock for /Users/gmgallo/Lavoro/Progetti/workspace/Gynnico/gynnicoweb/node_modules/.staging
npm timing stage:rollbackFailedOptional Completed in 911ms
npm timing stage:runTopLevelLifecycles Completed in 90348ms
npm WARN @digitalascetic/[email protected] requires a peer of exifr@^5.0.2 but none is installed. You must install peer dependencies yourself.
npm WARN @ng-bootstrap/[email protected] requires a peer of @angular/localize@^11.0.0 but none is installed. You must install peer dependencies yourself.
npm WARN @ngu/[email protected] requires a peer of @angular/common@^10.0.4 but none is installed. You must install peer dependencies yourself.
npm WARN @ngu/[email protected] requires a peer of @angular/core@^10.0.4 but none is installed. You must install peer dependencies yourself.
npm verb stack Error: [email protected] postinstall: node lib/update.js
npm verb stack Exit status 1
npm verb stack at EventEmitter. (/usr/local/lib/node_modules/npm/node_modules/npm-lifecycle/index.js:332:16)
npm verb stack at EventEmitter.emit (events.js:315:20)
npm verb stack at ChildProcess. (/usr/local/lib/node_modules/npm/node_modules/npm-lifecycle/lib/spawn.js:55:14)
npm verb stack at ChildProcess.emit (events.js:315:20)
npm verb stack at maybeClose (internal/child_process.js:1048:16)
npm verb stack at Process.ChildProcess._handle.onexit (internal/child_process.js:288:5)
npm verb pkgid [email protected]
npm verb cwd /Users/gmgallo/Lavoro/Progetti/workspace/Gynnico/gynnicoweb
npm verb Darwin 20.4.0
npm verb argv "/usr/local/bin/node" "/usr/local/bin/npm" "install" "--save" "geo-from-ip" "--verbose"
npm verb node v14.15.4
npm verb npm v6.13.7
npm ERR! code ELIFECYCLE
npm ERR! errno 1
npm ERR! [email protected] postinstall: node lib/update.js
npm ERR! Exit status 1
npm ERR!
npm ERR! Failed at the [email protected] postinstall script.
npm ERR! This is probably not a problem with npm. There is likely additional logging output above.
npm verb exit [ 1, true ]
npm timing npm Completed in 101481ms
npm ERR! A complete log of this run can be found in:
npm ERR! /Users/gmgallo/.npm/_logs/2021-05-31T07_44_34_083Z-debug.log`
And the library is not installed.
Any idea?