Closed xinbenlv closed 10 years ago
Should the package.json actually have var geoip = require('geoip'); or var geoip = require('geoip-no-city-leak');.
It seems like var geoip = require('geoip-no-city-leak') does not work due to error: ../src/city.h:12:10: fatal error: 'GeoIPCity.h' file not found
On Mac OSX I'm also getting 'GeoIPCity.h' file not found. Even after running brew install libgeoip.
Sorry for not getting to this sooner. It looks like the geoip memory leak issues have been resolved and they now bundle libgeoip, so this should hopefully fix everyone's dependency issues.
If the you have encounter the problem when installing it. You can consider pull this commit