Content
@
0 reply
0 recast
2 reactions
Max Jackson
@mxjxn.eth
Nextjs always has me pulling my hair out over bugs I cant pinpoint. I made this simple "rank-check" app which gets my subs on Hypersub & sorts them by time-remaining. Works fine locally. But when I push and it deploys to vercel, I get this error ideas? https://github.com/mxjxn/mxjxn.art/tree/main/src/app/rank-check
9 replies
1 recast
3 reactions
vijethx
@vijethx
the app/function is expecting a json object but receiving an html file (mostly)
1 reply
0 recast
0 reaction
Max Jackson
@mxjxn.eth
that much is clear, but it makes no sense as to why. It works locally.
2 replies
0 recast
0 reaction
vijethx
@vijethx
clear your local cache (.next folder) and also node_modules to be safe run `npm i` `npm run dev` see if the error is reproduced locally
0 reply
0 recast
0 reaction