Next.js Discord

Discord Forum

Reading and writing from the file system

Unanswered
English Angora posted this in #help-forum
Open in Discord
English AngoraOP
Hi dear people, I am aware of this feature request that does not seem to be getting any love: https://github.com/vercel/next.js/discussions/32236

I wonder if anyone has similar issue and none of the workarounds work for you?

In my case I am using third party lib (https://ts.llamaindex.ai/modules/low_level/storage) which is in my humble understanding trying to write and later read from file system. I am doing this in route hundler, but with no luck. Json files which third party lib is generating locally where it works like a charm simply does not gets bundled when deployed on Vercel.

Any help would be more then welcome. 🙏

0 Replies