I encountered a similar problem and I was able to get my code working with the following code in vercel.json.
vercel.json
{ buildCommand: "" }
I hope this helps you too.