This repository has been archived by the owner on Dec 20, 2024. It is now read-only.
Vercel thinks file doesnt exist. #6577
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Summary
Basically, i have this line of code at /api/index.js.
When the jsonDataPath = 'legacy.json' it works perfectly, but when it tries to do the same thing with 'log.json' it returns this:
path is /var/task/api/log.json
File does not exist: /var/task/api/log.json
This works in both cases locally, and all the files are in the same exact directory. I dont know whats causing this, but i dont think its my code.
This is the directory:
Example
https://indexsome.shit.vc/
Steps to Reproduce
To reproduce this bug, you uncheck the "legacy data?" check box which should set legacyDataType to false in the website i listed.
Beta Was this translation helpful? Give feedback.
All reactions