kit: [bug] undefined path error on vercel

Describe the bug

In localhost, I don’t have any problems, but when I deploy the project on Vercel, I get this error:

TypeError [ERR_INVALID_ARG_TYPE]: The "path" argument must be of type string or an instance of URL. Received undefined

I access the URL https://svelte-house-marketplace.vercel.app/ and get the error, but when I refresh the page, works normally.

Reproduction

https://github.com/rcapdepaula/svelte-house-marketplace

Logs

No response

System Info

Windows

Severity

serious, but I can work around it

Additional Information

I can’t find identify where is the error. I have no idea.

About this issue

  • Original URL
  • State: closed
  • Created 2 years ago
  • Comments: 17 (5 by maintainers)

Most upvoted comments

I’m guessing not since the function logs he posted in the last comment say “Failed Requests None”