Closed matiasfour closed 5 months ago
This code: const lookup = await maxmind.open<CityResponse>('/opt/app/GeoLite2-City.mmdb'); is causing this error:
const lookup = await maxmind.open<CityResponse>('/opt/app/GeoLite2-City.mmdb');
error - ../../node_modules/mmdb-lib/lib/decoder.js (8:0) @ error - (0 , assert_1.default) is not a function
I have maxmind latest version installed.
Do you attempt to use it in browser?
This code:
const lookup = await maxmind.open<CityResponse>('/opt/app/GeoLite2-City.mmdb');
is causing this error:error - ../../node_modules/mmdb-lib/lib/decoder.js (8:0) @
error - (0 , assert_1.default) is not a function
I have maxmind latest version installed.