node-maxmind
node-maxmind copied to clipboard
error - (0 , assert_1.default) is not a function
trafficstars
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) @
I have maxmind latest version installed.
Do you attempt to use it in browser?