79158948

Date: 2024-11-05 11:48:45
Score: 0.5
Natty:
Report link

This will occur when there's an environment mismatch - typically because the version of Node.js running is incompatible with the Next.js version. The class Request that's in the error is from web API and is not actively available in Node.js, which Next.js tries to simulate but might fail in an incompatiable environment. Steps to troubleshoot and maybe fix: Check Node.js version -- node -v if your version of Node.js is below 18, upgrade to a compatible version of Node.js. Mine i switched from v16 to v18 and it worked. Hope your's works. Thanks

Reasons:
  • Blacklisted phrase (0.5): Thanks
  • Whitelisted phrase (-1): it worked
  • Long answer (-0.5):
  • No code block (0.5):
  • Low reputation (1):
Posted by: Geoffrey Matieso