Comments (6)
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.
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.
I'm running my ubuntu machine on a tiny instance of AWS, could it be the reason ?
from node-geoip.
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.
I confirm that EC2 micro instance installation fails. Large one working fine. Didn't tried another grades.
from node-geoip.
closing this as it's an issue with available RAM and not with the code.
from node-geoip.
Related Issues (20)
- Make updatedb fast
- Library unusable due to "colors" module debacle HOT 1
- URLs in updatedb.js no longer work
- ERR_BUFFER_OUT_OF_BOUNDS after automatic update HOT 2
- Re: Database updates HOT 16
- Custom directory in updatedb doesn't work. HOT 6
- Sometimes geoip return null value HOT 3
- returns wrong country for 72.18.74.123 HOT 1
- Update database HOT 1
- 401 Unauthorized when trying to upgrade HOT 8
- Upgrade is extremely slow. HOT 4
- Get the postal / zip code ? HOT 1
- The included data is out of date HOT 2
- remove fs dependency
- IP from US but the returned result is from Africa HOT 3
- Incorrect geolocation for non-geolocated IPs HOT 8
- IPv6 not working HOT 4
- Error in getting the Info HOT 2
- Seeking insight into the development process and buffer lookup approach used. HOT 2
- updatedb.js: ERROR: HTTP Request Failed [302 Found]
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from node-geoip.