staart / api

🏁🛠️ SaaS backend & API framework based on @nestjs

Home Page:https://staart.js.org/api

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Error - geolocation.service.spec.ts

zaratt opened this issue · comments

Hello
First, congratulations on the template, very good.
I have an error when I run npm run test: unit
It shows an error as shown in the figure below.
The stranger who was ok, but just started giving this error.
P.S .: Do you have any contact e-mail?

Thanks
Captura de Tela 2021-02-13 às 21 55 00

⚠️ This issue has not seen any activity in the past 2 months so I'm marking it as stale. I'll close it if it doesn't see any activity in the coming week.

Looks like the GeoIP2 database was not downloaded, which is typically in the postinstall script of the geoip2-redist package. You can do that manually as well: https://github.com/GitSquared/node-geolite2-redist/blob/v1.0.7/scripts/postinstall.js

⚠️ This issue has not seen any activity in the past 2 months so I'm marking it as stale. I'll close it if it doesn't see any activity in the coming week.