You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I'm trying to implement a route that uses fs, and I was looking for a way to test it locally without having to deploy to Vercel every time. It works fine when running yarn start, but fails on Vercel due to the serverless environment limitations.
I came across the vercel dev command (which Vercel doesn’t officially recommend 😅), but it doesn’t work with SE2.
Has anyone found an alternative way to test such routes locally?
reacted with thumbs up emoji reacted with thumbs down emoji reacted with laugh emoji reacted with hooray emoji reacted with confused emoji reacted with heart emoji reacted with rocket emoji reacted with eyes emoji
Uh oh!
There was an error while loading. Please reload this page.
-
I'm trying to implement a route that uses
fs, and I was looking for a way to test it locally without having to deploy to Vercel every time. It works fine when runningyarn start, but fails on Vercel due to the serverless environment limitations.I came across the
vercel devcommand (which Vercel doesn’t officially recommend 😅), but it doesn’t work with SE2.Has anyone found an alternative way to test such routes locally?
Thank you 🙏
Beta Was this translation helpful? Give feedback.
All reactions