const normalize = require("normalize-mongoose");
^
Error [ERR_REQUIRE_ESM]: require() of ES Module D:\Code\FullStack Todo\todo-backend\node_modules\normalize-mongoose\index.js from D:\Code\FullStack Todo\todo-backend\modal.js not supported.
Instead change the require of index.js in D:\Code\FullStack Todo\todo-backend\modal.js to a dynamic import() which is available
in all CommonJS modules.
const normalize = require("normalize-mongoose");
^
Error [ERR_REQUIRE_ESM]: require() of ES Module D:\Code\FullStack Todo\todo-backend\node_modules\normalize-mongoose\index.js from D:\Code\FullStack Todo\todo-backend\modal.js not supported.
Instead change the require of index.js in D:\Code\FullStack Todo\todo-backend\modal.js to a dynamic import() which is available
in all CommonJS modules.