[bug] undefined path error on vercel
See original GitHub issueDescribe 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.
Issue Analytics
- State:
- Created 2 years ago
- Comments:17 (5 by maintainers)
Top Results From Across the Web
Errors – Vercel Docs
A list of errors provided by Vercel CLI or the REST API, with details on how they occur and how to resolve them....
Read more >I am getting errors when deploying to Vercel. Can anyone ...
Type error: Argument of type 'IncomingMessage & { cookies: NextApiRequestCookies; }' is not assignable to parameter of type 'null | undefined'.
Read more >Getting multiple TypeErrors when deploying using Vercel.
I'm trying to deploy my webapp for the first time and I'm getting this error on Vercel: TypeError: Cannot read property 'split' of...
Read more >Advanced Features: Error Handling
Handle errors in your Next.js app. ... Deploy Next.js on Vercel → ... To monitor client errors, use a service like Sentry, Bugsnag...
Read more >typeerror: cannot read properties of undefined (reading 'get ...
On my machine the application is working correctly but when I deploy it to vercel it shows this error. Below is my movie.js...
Read more >
Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free
Top Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
I’m guessing not since the function logs he posted in the last comment say “Failed Requests None”
My svelte.config:
I just do it