problem with geoip data
Unanswered
Arboreal ant posted this in #help-forum
Arboreal antOP
I am using geoip-lite, i installed all the data from maxmind and its in node_nodules/geoip-lite/data but when i run the app i get the error
ENOENT: no such file or directory, open 'C:\Users\name\Desktop\myproject.next\server\data\geoip-country.dat', i think this is a problem with nextjs as i can see the data in the path i mentioned above
ENOENT: no such file or directory, open 'C:\Users\name\Desktop\myproject.next\server\data\geoip-country.dat', i think this is a problem with nextjs as i can see the data in the path i mentioned above
9 Replies
Arboreal antOP
Bump
Arboreal antOP
bump
Toyger
is it real path
your account name is
also this
nodejs don't like ambigious path with spaces or special characters or dots in folder name
C:\Users\name\Desktop\myproject.next\server\data\geoip-country.dat ? your account name is
name ? also this
myproject.next your better remove dot from folder name.nodejs don't like ambigious path with spaces or special characters or dots in folder name
@Toyger is it real path
`C:\Users\name\Desktop\myproject.next\server\data\geoip-country.dat` ?
your account name is `name` ?
also this `myproject.next` your better remove dot from folder name.
nodejs don't like ambigious path with spaces or special characters or dots in folder name
Arboreal antOP
no i replaced it with "name" didnt want to leak my name
@Arboreal ant no i replaced it with "name" didnt want to leak my name
Toyger
as I am saying if it's have space or any special character then this is your problem.
Arboreal antOP
the correct path is C:\Users\name\Desktop\myproject.next\server\data\geoip-country.dat
@Toyger as I am saying if it's have space or any special character then this is your problem.
Arboreal antOP
discord removed the / for some reason
C:\Users\name\Desktop\myproject\.next\server\data\geoip-country.dathere