i spent almost 2 hours trying to solve this error but couldnt :
index.js
.. require(\'./models/User\'); const express = require(\'express\'); const mon