I have a react front end - which seems to be working and a express backend. The backend project is deploying but crashes. It seems to me that it is not loading a file in the root directory. I am attaching the code for loading the file and the code I added to the vercel.json file.
Is there something I need to change to get it to load? Is that the problem I am having?
Thank you.
const map = await new Promise((resolve, reject)=>{ tmx.parseFile('snowmap1.tmx', (err, loadedMap) => { if(err) return reject(err) resolve(loadedMap) }) }){ "version": 2, "builds": [{ "src": "./index.js", "use": "@vercel/node"}], "routes": [{ "src": "/(.*)", "dest": "/"}]}

