Cannot find module '/var/task/node_modules/@mjackson/node-fetch-server/dist/node-fetch-server.cjs'
Did you forget to add it to "dependencies" in `package.json`?
Node.js process exited with exit status: 1. The logs above can help with debugging the issue.
However, this error occurs even though I havenāt changed anything related to dependencies. The latest code runs normally in my local machine.
To verify, I reproduced the issue using the official React Router boilerplate template and can see the same ācannot find moduleā error in the logs.
Code: React Router Boilerplate
Deployed: https://test-rr-one.vercel.app/
Thanks for reporting this error @gregoryzeng!
We experience the same issue, yesterday the very same builds were working perfectly and today we have this error as well!
hey guys! Iām still getting this issue when deploying using the vercel cli, just updated using npm i -g vercel@latest but still getting the same issue where the build and deployment succeeds but any request results in a 500 with: Cannot find module ā/var/task/node_modules/@mjackson/node-fetch-server/dist/node-fetch-server.cjsā