node-maxmind icon indicating copy to clipboard operation
node-maxmind copied to clipboard

error - (0 , assert_1.default) is not a function

Open matiasfour opened this issue 1 year ago • 1 comments
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) @ error - (0 , assert_1.default) is not a function

image

I have maxmind latest version installed.

matiasfour avatar Jan 18 '24 13:01 matiasfour

Do you attempt to use it in browser?

runk avatar Feb 01 '24 21:02 runk