Giter Site home page Giter Site logo

vikramtiwari / geo-from-ip Goto Github PK

View Code? Open in Web Editor NEW
31.0 3.0 20.0 29.76 MB

Get geolocation 🌐 information about an IP πŸ“²

Home Page: https://vikramtiwari.github.io/geo-from-ip/

License: MIT License

JavaScript 100.00%
geo maxmind geolocation geo-from-ip geolocation-api auto-update

geo-from-ip's Introduction

geo-from-ip

Get geolocation 🌐 information about an IP πŸ“²

Build Status NPM Version NPM Download

Features

  • No frills install πŸš€
  • Downloads GeoLite2 databases automatically during installation πŸ”‹
  • Run npm install to upgrade databases which means automatic updates on deployments πŸ’Ž

How to use

  • Include package in your project
npm install --save geo-from-ip
# or, if you are using yarn
yarn add --save geo-from-ip
  • Set MAXMIND_LICENSE_KEY=<your_maxmind_license_key> in your environment variables. Read more about this change on MaxMind's blog.

  • Use package to get geo data from IP

const geoip = require('geo-from-ip')
console.log(geoip.allData('199.188.195.120'))
  • And the complete response will be returned
{
  "code": {
    "state": "CA",
    "country": "US",
    "registeredCountry": "US",
    "continent": "NA"
  },
  "geonameId": {
    "city": 5391959,
    "state": 5332921,
    "country": 6252001,
    "registeredCountry": 6252001,
    "continent": 6255149
  },
  "city": "San Francisco",
  "state": "California",
  "country": "United States",
  "registeredCountry": "United States",
  "continent": "North America",
  "postal": "94107",
  "location": {
    "accuracy_radius": 5,
    "latitude": 37.7642,
    "longitude": -122.3993,
    "metro_code": 807,
    "time_zone": "America/Los_Angeles"
  }
}
  • Update database

Database will get automatically updated every time deployment happens. But if you would like to force an update, just run:

npm install
# or, if you are using yarn
yarn

Remember that you will need to have MAXMIND_LICENSE_KEY set in your environment variables.

Debugging / Developing

Run your code using geo-from-ip as debug flag. Look into pacakge.json for example.

Credits

Database: Max-Mind

This product includes GeoLite2 data created by MaxMind, available from https://www.maxmind.com

geo-from-ip's People

Contributors

appelgriebsch avatar greenkeeper[bot] avatar greenkeeperio-bot avatar ratnadeep007 avatar vikramtiwari avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar

geo-from-ip's Issues

An in-range update of chance is breaking the build 🚨

The devDependency chance was updated from 1.1.3 to 1.1.4.

🚨 View failing branch.

This version is covered by your current version range and after updating it in your project the build failed.

chance is a devDependency of this project. It might not break your production code or affect downstream projects, but probably breaks your build or test tools, which may prevent deploying or publishing.

Status Details
  • βœ… continuous-integration/travis-ci/push: The Travis CI build passed (Details).
  • ❌ Build: This repository is not mapped to a Google Cloud Platform project. Please connect it to a project in the cloud console.

Commits

The new version differs by 4 commits.

  • f82749d Bump to 1.1.4 to include fix from #427
  • f952823 Remove defunct tlds as suggested in #427 (#451)
  • 0cee66c updates typo in code snippet (#450)
  • 1784dc3 Add link to template docs (#442)

See the full diff

FAQ and help

There is a collection of frequently asked questions. If those don’t help, you can always ask the humans behind Greenkeeper.


Your Greenkeeper Bot 🌴

An in-range update of jest2 is breaking the build 🚨

There have been updates to the jest2 monorepo:

    • The devDependency expect was updated from 23.5.0 to 23.6.0.

🚨 View failing branch.

This version is covered by your current version range and after updating it in your project the build failed.

This monorepo update includes releases of one or more dependencies which all belong to the jest2 group definition.

jest2 is a devDependency of this project. It might not break your production code or affect downstream projects, but probably breaks your build or test tools, which may prevent deploying or publishing.

Status Details
  • ❌ continuous-integration/travis-ci/push: The Travis CI build could not complete due to an error (Details).

FAQ and help

There is a collection of frequently asked questions. If those don’t help, you can always ask the humans behind Greenkeeper.


Your Greenkeeper Bot 🌴

An in-range update of standard is breaking the build 🚨

The devDependency standard was updated from 14.0.2 to 14.1.0.

🚨 View failing branch.

This version is covered by your current version range and after updating it in your project the build failed.

standard is a devDependency of this project. It might not break your production code or affect downstream projects, but probably breaks your build or test tools, which may prevent deploying or publishing.

Status Details
  • βœ… continuous-integration/travis-ci/push: The Travis CI build passed (Details).
  • ❌ Build: This repository is not mapped to a Google Cloud Platform project. Please connect it to a project in the cloud console.

Commits

The new version differs by 8 commits.

See the full diff

FAQ and help

There is a collection of frequently asked questions. If those don’t help, you can always ask the humans behind Greenkeeper.


Your Greenkeeper Bot 🌴

An in-range update of chance is breaking the build 🚨

The devDependency chance was updated from 1.0.17 to 1.0.18.

🚨 View failing branch.

This version is covered by your current version range and after updating it in your project the build failed.

chance is a devDependency of this project. It might not break your production code or affect downstream projects, but probably breaks your build or test tools, which may prevent deploying or publishing.

Status Details
  • ❌ continuous-integration/travis-ci/push: The Travis CI build could not complete due to an error (Details).

Commits

The new version differs by 3 commits.

  • d16e93c Bump version to 1.0.18 to resolve #396
  • b7f4c2b Replaced es6 arrow function with function (#395)
  • 98964cc 😞 I committed sloppy code (#394)

See the full diff

FAQ and help

There is a collection of frequently asked questions. If those don’t help, you can always ask the humans behind Greenkeeper.


Your Greenkeeper Bot 🌴

An in-range update of standard is breaking the build 🚨


☝️ Important announcement: Greenkeeper will be saying goodbye πŸ‘‹ and passing the torch to Snyk on June 3rd, 2020! Find out how to migrate to Snyk and more at greenkeeper.io


The devDependency standard was updated from 14.3.1 to 14.3.2.

🚨 View failing branch.

This version is covered by your current version range and after updating it in your project the build failed.

standard is a devDependency of this project. It might not break your production code or affect downstream projects, but probably breaks your build or test tools, which may prevent deploying or publishing.

Status Details
  • βœ… build (13.x): null
  • βœ… build (12.x): null
  • βœ… build (10.x): null
  • ❌ Build: This repository is not mapped to a Google Cloud Platform project. Please connect it to a project in the cloud console.

Commits

The new version differs by 26 commits.

  • 558df00 14.3.2
  • a8e318e Add changelog entry for 14.3.2
  • 133a4c9 Merge pull request #1492 from standard/eslint68
  • a2df23b Upgrade ESLint to 6.8.x
  • fb7e2a3 remove sponsor
  • ecda198 Update README.md
  • 4bc1671 Update README.md
  • e514626 add sponsor
  • 2b86c68 spacing
  • a702d2e Reposition CodeFund sponsorship link (#1446)
  • a28b5d0 Reposition CodeFund sponsorship link
  • 0f86fb9 Merge pull request #1445 from ZY2071/master
  • b4726d7 perf: Change the examples for rule 'No octal literals' .
  • 4bdaa2f perf: make the rule 'No octal literals' more specific.
  • f5d758e Update README-ja.md for d901c54 (#1435)

There are 26 commits in total.

See the full diff

FAQ and help

There is a collection of frequently asked questions. If those don’t help, you can always ask the humans behind Greenkeeper.


Your Greenkeeper Bot 🌴

Error during install

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]
npm info lifecycle [email protected]
preinstall: [email protected]
npm info lifecycle [email protected]preinstall: [email protected]
npm info lifecycle [email protected]
preinstall: [email protected]
npm info lifecycle [email protected]preinstall: [email protected]
npm info lifecycle [email protected]
preinstall: [email protected]
npm info lifecycle [email protected]preinstall: [email protected]
npm info lifecycle [email protected]
preinstall: [email protected]
npm info lifecycle [email protected]preinstall: [email protected]
npm info lifecycle [email protected]
preinstall: [email protected]
npm info lifecycle [email protected]preinstall: [email protected]
npm info lifecycle [email protected]
preinstall: [email protected]
npm info lifecycle [email protected]preinstall: [email protected]
npm info lifecycle [email protected]
preinstall: [email protected]
npm info lifecycle [email protected]preinstall: [email protected]
npm info lifecycle [email protected]
preinstall: [email protected]
npm info lifecycle [email protected]preinstall: [email protected]
npm info lifecycle [email protected]
preinstall: [email protected]
npm info lifecycle [email protected]preinstall: [email protected]
npm info lifecycle [email protected]
preinstall: [email protected]
npm info lifecycle [email protected]preinstall: [email protected]
npm info lifecycle [email protected]
preinstall: [email protected]
npm info lifecycle [email protected]preinstall: [email protected]
npm info lifecycle [email protected]
preinstall: [email protected]
npm info lifecycle [email protected]preinstall: [email protected]
npm info lifecycle [email protected]
preinstall: [email protected]
npm info lifecycle [email protected]preinstall: [email protected]
npm info lifecycle [email protected]
preinstall: [email protected]
npm info lifecycle [email protected]preinstall: [email protected]
npm info lifecycle [email protected]
preinstall: [email protected]
npm info lifecycle [email protected]preinstall: [email protected]
npm info lifecycle [email protected]
preinstall: [email protected]
npm info lifecycle [email protected]preinstall: [email protected]
npm info lifecycle [email protected]
preinstall: [email protected]
npm info lifecycle [email protected]preinstall: [email protected]
npm info lifecycle [email protected]
preinstall: [email protected]
npm info lifecycle [email protected]preinstall: [email protected]
npm info lifecycle [email protected]
preinstall: [email protected]
npm info lifecycle [email protected]preinstall: [email protected]
npm info lifecycle [email protected]
preinstall: [email protected]
npm info lifecycle [email protected]preinstall: [email protected]
npm info lifecycle [email protected]
preinstall: [email protected]
npm info lifecycle [email protected]preinstall: [email protected]
npm info lifecycle [email protected]
preinstall: [email protected]
npm info lifecycle [email protected]preinstall: [email protected]
npm info lifecycle [email protected]
preinstall: [email protected]
npm info lifecycle [email protected]preinstall: [email protected]
npm info lifecycle [email protected]
preinstall: [email protected]
npm info lifecycle [email protected]preinstall: [email protected]
npm info lifecycle [email protected]
preinstall: [email protected]
npm info lifecycle [email protected]preinstall: [email protected]
npm info lifecycle [email protected]
preinstall: [email protected]
npm info lifecycle [email protected]preinstall: [email protected]
npm info lifecycle [email protected]
preinstall: [email protected]
npm info lifecycle [email protected]preinstall: [email protected]
npm info lifecycle [email protected]
preinstall: [email protected]
npm info lifecycle [email protected]preinstall: [email protected]
npm info lifecycle [email protected]
preinstall: [email protected]
npm info lifecycle [email protected]preinstall: [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]
install: [email protected]
npm info lifecycle [email protected]install: [email protected]
npm info lifecycle [email protected]
install: [email protected]
npm info lifecycle [email protected]install: [email protected]
npm info lifecycle [email protected]
install: [email protected]
npm info lifecycle [email protected]install: [email protected]
npm info lifecycle [email protected]
install: [email protected]
npm info lifecycle [email protected]install: [email protected]
npm info lifecycle [email protected]
install: [email protected]
npm info lifecycle [email protected]install: [email protected]
npm info lifecycle [email protected]
install: [email protected]
npm info lifecycle [email protected]install: [email protected]
npm info lifecycle [email protected]
install: [email protected]
npm info lifecycle [email protected]install: [email protected]
npm info lifecycle [email protected]
install: [email protected]
npm info lifecycle [email protected]install: [email protected]
npm info lifecycle [email protected]
install: [email protected]
npm info lifecycle [email protected]install: [email protected]
npm info lifecycle [email protected]
install: [email protected]
npm info lifecycle [email protected]install: [email protected]
npm info lifecycle [email protected]
install: [email protected]
npm info lifecycle [email protected]install: [email protected]
npm info lifecycle [email protected]
install: [email protected]
npm info lifecycle [email protected]install: [email protected]
npm info lifecycle [email protected]
install: [email protected]
npm info lifecycle [email protected]install: [email protected]
npm info lifecycle [email protected]
install: [email protected]
npm info lifecycle [email protected]install: [email protected]
npm info lifecycle [email protected]
install: [email protected]
npm info lifecycle [email protected]install: [email protected]
npm info lifecycle [email protected]
install: [email protected]
npm info lifecycle [email protected]install: [email protected]
npm info lifecycle [email protected]
install: [email protected]
npm info lifecycle [email protected]install: [email protected]
npm info lifecycle [email protected]
install: [email protected]
npm info lifecycle [email protected]install: [email protected]
npm info lifecycle [email protected]
install: [email protected]
npm info lifecycle [email protected]install: [email protected]
npm info lifecycle [email protected]
install: [email protected]
npm info lifecycle [email protected]install: [email protected]
npm info lifecycle [email protected]
install: [email protected]
npm info lifecycle [email protected]install: [email protected]
npm info lifecycle [email protected]
install: [email protected]
npm info lifecycle [email protected]install: [email protected]
npm info lifecycle [email protected]
install: [email protected]
npm info lifecycle [email protected]install: [email protected]
npm info lifecycle [email protected]
install: [email protected]
npm info lifecycle [email protected]install: [email protected]
npm info lifecycle [email protected]
install: [email protected]
npm info lifecycle [email protected]install: [email protected]
npm info lifecycle [email protected]
install: [email protected]
npm info lifecycle [email protected]install: [email protected]
npm info lifecycle [email protected]
install: [email protected]
npm info lifecycle [email protected]install: [email protected]
npm info lifecycle [email protected]
install: [email protected]
npm info lifecycle [email protected]install: [email protected]
npm info lifecycle [email protected]
install: [email protected]
npm info lifecycle [email protected]install: [email protected]
npm info lifecycle [email protected]
install: [email protected]
npm timing action:install Completed in 43ms
npm info lifecycle [email protected]postinstall: [email protected]
npm info lifecycle [email protected]
postinstall: [email protected]
npm info lifecycle [email protected]postinstall: [email protected]
npm info lifecycle [email protected]
postinstall: [email protected]
npm info lifecycle [email protected]postinstall: [email protected]
npm info lifecycle [email protected]
postinstall: [email protected]
npm info lifecycle [email protected]postinstall: [email protected]
npm info lifecycle [email protected]
postinstall: [email protected]
npm info lifecycle [email protected]postinstall: [email protected]
npm info lifecycle [email protected]
postinstall: [email protected]
npm info lifecycle [email protected]postinstall: [email protected]
npm info lifecycle [email protected]
postinstall: [email protected]
npm info lifecycle [email protected]postinstall: [email protected]
npm info lifecycle [email protected]
postinstall: [email protected]
npm info lifecycle [email protected]postinstall: [email protected]
npm info lifecycle [email protected]
postinstall: [email protected]
npm info lifecycle [email protected]postinstall: [email protected]
npm info lifecycle [email protected]
postinstall: [email protected]
npm info lifecycle [email protected]postinstall: [email protected]
npm info lifecycle [email protected]
postinstall: [email protected]
npm info lifecycle [email protected]postinstall: [email protected]
npm info lifecycle [email protected]
postinstall: [email protected]
npm info lifecycle [email protected]postinstall: [email protected]
npm info lifecycle [email protected]
postinstall: [email protected]
npm info lifecycle [email protected]postinstall: [email protected]
npm info lifecycle [email protected]
postinstall: [email protected]
npm info lifecycle [email protected]postinstall: [email protected]
npm info lifecycle [email protected]
postinstall: [email protected]
npm info lifecycle [email protected]postinstall: [email protected]
npm info lifecycle [email protected]
postinstall: [email protected]
npm info lifecycle [email protected]postinstall: [email protected]
npm info lifecycle [email protected]
postinstall: [email protected]
npm info lifecycle [email protected]postinstall: [email protected]
npm info lifecycle [email protected]
postinstall: [email protected]
npm info lifecycle [email protected]postinstall: [email protected]
npm info lifecycle [email protected]
postinstall: [email protected]
npm info lifecycle [email protected]postinstall: [email protected]
npm info lifecycle [email protected]
postinstall: [email protected]
npm info lifecycle [email protected]postinstall: [email protected]
npm info lifecycle [email protected]
postinstall: [email protected]
npm info lifecycle [email protected]postinstall: [email protected]
npm info lifecycle [email protected]
postinstall: [email protected]
npm info lifecycle [email protected]postinstall: [email protected]
npm info lifecycle [email protected]
postinstall: [email protected]
npm info lifecycle [email protected]postinstall: [email protected]
npm info lifecycle [email protected]
postinstall: [email protected]
npm info lifecycle [email protected]postinstall: [email protected]
npm info lifecycle [email protected]
postinstall: [email protected]
npm info lifecycle [email protected]postinstall: [email protected]
npm info lifecycle [email protected]
postinstall: [email protected]
npm info lifecycle [email protected]postinstall: [email protected]
npm info lifecycle [email protected]
postinstall: [email protected]
npm info lifecycle [email protected]postinstall: [email protected]
npm info lifecycle [email protected]
postinstall: [email protected]
npm info lifecycle [email protected]postinstall: [email protected]
npm info lifecycle [email protected]
postinstall: [email protected]
npm info lifecycle [email protected]postinstall: [email protected]
npm info lifecycle [email protected]
postinstall: [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 true
npm verb lifecycle [email protected]
postinstall: 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]postinstall: CWD: /Users/gmgallo/Lavoro/Progetti/workspace/Gynnico/gynnicoweb/node_modules/geo-from-ip
npm info lifecycle [email protected]
postinstall: Failed to exec postinstall script
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?

Version 10 of node.js has been released

Version 10 of Node.js (code name Dubnium) has been released! 🎊

To see what happens to your code in Node.js 10, Greenkeeper has created a branch with the following changes:

  • Added the new Node.js version to your .travis.yml
  • The new Node.js version is in-range for the engines in 1 of your package.json files, so that was left alone

If you’re interested in upgrading this repo to Node.js 10, you can open a PR with these changes. Please note that this issue is just intended as a friendly reminder and the PR as a possible starting point for getting your code running on Node.js 10.

More information on this issue

Greenkeeper has checked the engines key in any package.json file, the .nvmrc file, and the .travis.yml file, if present.

  • engines was only updated if it defined a single version, not a range.
  • .nvmrc was updated to Node.js 10
  • .travis.yml was only changed if there was a root-level node_js that didn’t already include Node.js 10, such as node or lts/*. In this case, the new version was appended to the list. We didn’t touch job or matrix configurations because these tend to be quite specific and complex, and it’s difficult to infer what the intentions were.

For many simpler .travis.yml configurations, this PR should suffice as-is, but depending on what you’re doing it may require additional work or may not be applicable at all. We’re also aware that you may have good reasons to not update to Node.js 10, which is why this was sent as an issue and not a pull request. Feel free to delete it without comment, I’m a humble robot and won’t feel rejected πŸ€–


FAQ and help

There is a collection of frequently asked questions. If those don’t help, you can always ask the humans behind Greenkeeper.


Your Greenkeeper Bot 🌴

An in-range update of cross-env is breaking the build 🚨

The dependency cross-env was updated from 5.2.0 to 5.2.1.

🚨 View failing branch.

This version is covered by your current version range and after updating it in your project the build failed.

cross-env is a direct dependency of this project, and it is very likely causing it to break. If other packages depend on yours, this update is probably also breaking those in turn.

Status Details
  • βœ… continuous-integration/travis-ci/push: The Travis CI build passed (Details).
  • ❌ Build: This repository is not mapped to a Google Cloud Platform project. Please connect it to a project in the cloud console.

Release Notes for v5.2.1

5.2.1 (2019-08-31)

Bug Fixes

Commits

The new version differs by 6 commits.

  • a75fd0e fix: remove is-windows dependency (#207)
  • 4889923 docs: add note for windows issues
  • 2b36bb3 docs: add Jason-Cooke as a contributor (#201)
  • 41ab3b0 docs: Fix typo (#200)
  • 553705c docs(README): list @naholyr/cross-env in Other Solutions section (#189)
  • 5d0f19f docs: remove codesponsor (#186)

See the full diff

FAQ and help

There is a collection of frequently asked questions. If those don’t help, you can always ask the humans behind Greenkeeper.


Your Greenkeeper Bot 🌴

An in-range update of mocha is breaking the build 🚨

The devDependency mocha was updated from 6.1.4 to 6.2.0.

🚨 View failing branch.

This version is covered by your current version range and after updating it in your project the build failed.

mocha is a devDependency of this project. It might not break your production code or affect downstream projects, but probably breaks your build or test tools, which may prevent deploying or publishing.

Status Details
  • βœ… continuous-integration/travis-ci/push: The Travis CI build passed (Details).
  • ❌ Build: This repository is not mapped to a Google Cloud Platform project. Please connect it to a project in the cloud console.

Release Notes for v6.2.0

6.2.0 / 2019-07-18

πŸŽ‰ Enhancements

πŸ› Fixes

πŸ“– Documentation

πŸ” Coverage

πŸ”© Other

Commits

The new version differs by 39 commits.

  • bd47776 Release v6.2.0
  • cc595af update CHANGELOG.md for v6.2.0 [ci skip]
  • 59d70ee fix: remove duplicate line-height property (#3957)
  • f77cac4 fix: do not redeclare variable (#3956)
  • 6201e42 Hide stacktrace when cli args are missing (#3963)
  • 88f45d5 Don't re-initialize grep option on watch re-run (#3960)
  • 5d4dd98 Fix No Files error when file is passed via --files (#3942)
  • 15b96af Collect test files later (#3953)
  • ccee5f1 Base reporter store ref to console.log (#3725)
  • 47318a7 update @mocha/contributors to v1.0.4 (#3944)
  • c903147 More, improved integration tests for watching (#3929)
  • e341ea4 Update CI config files to use Node-12.x (#3919)
  • 3064d25 update @mocha/docdash to v2.1.1 (#3945)
  • 9ea45e7 do not fork if no node flags present (#3827)
  • d02a096 modify Mocha constructor to accept options.global or options.globals (#3914)

There are 39 commits in total.

See the full diff

FAQ and help

There is a collection of frequently asked questions. If those don’t help, you can always ask the humans behind Greenkeeper.


Your Greenkeeper Bot 🌴

An in-range update of chance is breaking the build 🚨

The devDependency chance was updated from 1.0.18 to 1.1.0.

🚨 View failing branch.

This version is covered by your current version range and after updating it in your project the build failed.

chance is a devDependency of this project. It might not break your production code or affect downstream projects, but probably breaks your build or test tools, which may prevent deploying or publishing.

Status Details
  • βœ… continuous-integration/travis-ci/push: The Travis CI build passed (Details).
  • ❌ Build: This repository is not mapped to a Google Cloud Platform project. Please connect it to a project in the cloud console.

Commits

The new version differs by 46 commits.

  • 1525a76 Merge 0e4e096c8c30e69259807670568a6a198351c47e into 2919b0adf9fcb50d5a999f2d839360efa3148602
  • 0e4e096 Fix default username, now using npm token
  • 3ec9d5c change command to run tests
  • 7140c7d Add remaining env variables for docs to work
  • a56821b Fix env in docs.yml
  • 4677aa1 Fix more issues with docs and npm
  • 0bc944d Attempt to fix the docs action
  • 82b6377 Now dumping coverage to a file
  • a1cb7ac Attempt to fix coverage by directing its output
  • 29565f2 Undo silly lint change now that lint is fixed
  • 21eef31 Intentional lint breaking change to test ESLint
  • 7326e33 Attempt to fix build job
  • ca4750f Add .eslintignore
  • 1b531f4 Now with eslint
  • 51be624 Try to send GITHUB_TOKEN to eslint action

There are 46 commits in total.

See the full diff

FAQ and help

There is a collection of frequently asked questions. If those don’t help, you can always ask the humans behind Greenkeeper.


Your Greenkeeper Bot 🌴

v1.0.4

  • Add updated json in readme
  • Remove un-necessary country db file, use city file only

Error: getaddrinfo ENOTFOUND geolite.maxmind.com

I'm getting an error during npm install (see below). Maxmind support said it's because of these changes they made:
https://blog.maxmind.com/2019/12/18/significant-changes-to-accessing-and-using-geolite2-databases/

Do you plan on implementing support for the new GeoLite2 databases download process?
Thanks in advance!

$ npm install --save geo-from-ip
npm WARN deprecated [email protected]: The sprintf package is deprecated in favor of sprintf-js.
npm WARN deprecated [email protected]: Please update to minimatch 3.0.2 or higher to avoid a RegExp DoS issue

 [email protected] postinstall /Users/user/Developer/project/node_modules/geo-from-ip
 cross-env DEBUG=geo-from-ip:* node lib/update.js

  geo-from-ip:updater Running update script with config: {"dbDir":"/Users/user/Developer/project/node_modules/geo-from-ip/mmdb","geoIpDbs":[{"local":"GeoLite2-City.mmdb","remote":"https://geolite.maxmind.com/download/geoip/database/GeoLite2-City.mmdb.gz"}]} +0ms
  geo-from-ip:updater downloading /Users/user/Developer/project/node_modules/geo-from-ip/mmdb/GeoLite2-City.mmdb +2ms
internal/streams/legacy.js:59
      throw er; // Unhandled stream error in pipe.
      ^

Error: getaddrinfo ENOTFOUND geolite.maxmind.com
    at GetAddrInfoReqWrap.onlookup [as oncomplete] (dns.js:60:26) {
  errno: 'ENOTFOUND',
  code: 'ENOTFOUND',
  syscall: 'getaddrinfo',
  hostname: 'geolite.maxmind.com'
}
npm ERR! code ELIFECYCLE
npm ERR! errno 1
npm ERR! [email protected] postinstall: `cross-env DEBUG=geo-from-ip:* 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 ERR! A complete log of this run can be found in:
npm ERR!     /Users/user/.npm/_logs/2020-01-01T12_10_59_455Z-debug.log

TypeError [ERR_INVALID_ARG_TYPE]: The "original" argument must be of type Function

Getting this error while deploying using AWS Codebuild:

  > [email protected] postinstall /usr/src/smartbite-server/node_modules/geo-from-ip
  > cross-env DEBUG=geo-from-ip:* node lib/update.js
  
  οΏ½[91minternal/util.js:220
      throw new errors.TypeError('ERR_INVALID_ARG_TYPE', 'original', 'Function');
      ^
  
  TypeError [ERR_INVALID_ARG_TYPE]: The "original" argument must be of type Function
      at Object.promisify (internal/util.js:220:11)
      at Object.<anonymous> (/usr/src/smartbite-server/node_modules/geo-from-ip/lib/update.js:7:29)
      at Module._compile (internal/modules/cjs/loader.js:654:30)
      at Object.Module._extensions..js (internal/modules/cjs/loader.js:665:10)
      at Module.load (internal/modules/cjs/loader.js:566:32)
      at tryModuleLoad (internal/modules/cjs/loader.js:506:12)
      at Function.Module._load (internal/modules/cjs/loader.js:498:3)
      at Function.Module.runMain (internal/modules/cjs/loader.js:695:10)
      at startup (internal/bootstrap/node.js:201:19)
      at bootstrapNodeJSCore (internal/bootstrap/node.js:516:3)

I know this is related to this line in node_modules/geo-from-ip/lib/update.js:7:29:
const streamPipeline = util.promisify(require("stream").pipeline);.

Any idea why 'stream' is undefined?

An in-range update of debug is breaking the build 🚨

Version 3.2.0 of debug was just published.

Branch Build failing 🚨
Dependency debug
Current Version 3.1.0
Type dependency

This version is covered by your current version range and after updating it in your project the build failed.

debug is a direct dependency of this project, and it is very likely causing it to break. If other packages depend on yours, this update is probably also breaking those in turn.

Status Details
  • ❌ continuous-integration/travis-ci/push: The Travis CI build could not complete due to an error (Details).

Release Notes 3.2.0

A long-awaited release to debug is available now: 3.2.0.

Due to the delay in release and the number of changes made (including bumping dependencies in order to mitigate vulnerabilities), it is highly recommended maintainers update to the latest package version and test thoroughly.


Minor Changes

Patches

Credits

Huge thanks to @DanielRuf, @EirikBirkeland, @KyleStay, @Qix-, @abenhamdine, @alexey-pelykh, @DiegoRBaquero, @febbraro, @kwolfy, and @TooTallNate for their help!

Commits

The new version differs by 25 commits.

There are 25 commits in total.

See the full diff

FAQ and help

There is a collection of frequently asked questions. If those don’t help, you can always ask the humans behind Greenkeeper.


Your Greenkeeper Bot 🌴

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    πŸ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. πŸ“ŠπŸ“ˆπŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❀️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.