79101081

Date: 2024-10-18 07:50:19
Score: 2.5
Natty:
Report link

The code you are trying to write that uses the require() function belongs to the server side, but right now, you are trying to write it on the client side. In order to make it work, create the server Node.js app, write the same logic there, and then call the API corresponding from the client side.

Reasons:
  • Low length (0.5):
  • No code block (0.5):
  • Single line (0.5):
  • Low reputation (1):
Posted by: Anshul Kahar