Coder Social home page Coder Social logo

Ofer Velich about node-geoip HOT 6 CLOSED

geoip-lite avatar geoip-lite commented on July 19, 2024
Ofer Velich

from node-geoip.

Comments (6)

bluesmoon avatar bluesmoon commented on July 19, 2024

Can you send the details from the npm-debug.log? Also, make sure you're running the latest version of node and npm.

from node-geoip.

ofer-velich avatar ofer-velich commented on July 19, 2024

Thanks for the replay...

my nodejs version:
v0.10.26

my npm versionL
1.4.3

Here is the debug log:
1 0 info it worked if it ends with ok
2 1 verbose cli [ '/usr/bin/node', '/usr/bin/npm', 'run-script', 'updatedb' ]
3 2 info using [email protected]
4 3 info using [email protected]
5 4 verbose node symlink /usr/bin/node
6 5 verbose run-script [ 'preupdatedb', 'updatedb', 'postupdatedb' ]
7 6 info preupdatedb [email protected]
8 7 info updatedb [email protected]
9 8 verbose unsafe-perm in lifecycle true
10 9 info [email protected] Failed to exec updatedb script
11 10 error [email protected] updatedb: node scripts/updatedb.js
12 10 error Exit status 137
13 11 error Failed at the [email protected] updatedb script.
14 11 error This is most likely a problem with the geoip-lite package,
15 11 error not with npm itself.
16 11 error Tell the author that this fails on your system:
17 11 error node scripts/updatedb.js
18 11 error You can get their info via:
19 11 error npm owner ls geoip-lite
20 11 error There is likely additional logging output above.
21 12 error System Linux 3.11.0-15-generic
22 13 error command "/usr/bin/node" "/usr/bin/npm" "run-script" "updatedb"
23 14 error cwd /home/ubuntu/node_modules/geoip-lite
24 15 error node -v v0.10.26
25 16 error npm -v 1.4.3
26 17 error code ELIFECYCLE
27 18 verbose exit [ 1, true ]

from node-geoip.

ofer-velich avatar ofer-velich commented on July 19, 2024

I'm running my ubuntu machine on a tiny instance of AWS, could it be the reason ?

from node-geoip.

bluesmoon avatar bluesmoon commented on July 19, 2024

yes. you'll probably need more RAM. We've seen it run out of memory on a
small digital ocean instance, so AWS tiny is probably the same.

from node-geoip.

Firfi avatar Firfi commented on July 19, 2024

I confirm that EC2 micro instance installation fails. Large one working fine. Didn't tried another grades.

from node-geoip.

bluesmoon avatar bluesmoon commented on July 19, 2024

closing this as it's an issue with available RAM and not with the code.

from node-geoip.

Related Issues (20)

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.