Error with pathing when using netlify

Request from ::1: POST /.netlify/functions/api/shorten
[Error: ENOENT: no such file or directory, open 'urls.json'] {
  errno: -2,
  code: 'ENOENT',
  syscall: 'open',
  path: 'urls.json'
}
can someone tell me how to fix this BS ? I can run it ok when I dont have to deal with netlify , but this makes no sense to me ? If you need to see my pathing , feel free to ask me . I am getting tilted
image.png
Was this page helpful?