remix: Error in vercel deploy: TypeError: Cannot read properties of undefined (reading 'v2_meta')
What version of Remix are you using?
1.6.7
Steps to Reproduce
clone repository by ssh: git clone git@github.com:Lucas-Eduardo-Goncalves/pac.app.git
then add this repository to vercel, and try.
Expected Behavior
My site should work normally. On localhost I can’t find it works normally.
Actual Behavior
I find the error message: TypeError: Cannot read properties of undefined (reading ‘v2_meta’)
About this issue
- Original URL
- State: closed
- Created 2 years ago
- Reactions: 1
- Comments: 19 (3 by maintainers)
Closing in favor of https://github.com/vercel/vercel/issues/9010
Seem you are missing edit the remix config while you want to deploy to Vercel. In
remix.config.jsCreate new
server.jsfile at your root folder (the same level ofremix.config.js)Can you add
future: {}in yourremix.config.jsand see if the issue goes away?