sapics / geoip-country

Less memory usage version of geoip-lite by supporting only country lookup.
Other
89 stars 13 forks source link

Error: Cannot find module '../../node_modules/countries-list/countries.min.json' #31

Closed ajithv11 closed 2 months ago

ajithv11 commented 2 months ago

Could you please update the file node_modules/geoip-country/lib/geoip.js as follows

` var countryJson = require('../../countries-list/countries.min.json'); var continentJson = require('../../countries-list/continents.min.json');

`

sapics commented 2 months ago

Thank you for reporting error! I have fixed the issue and release a newer version.

sapics commented 2 months ago

I close this issue as fixed.