how can i remove unpermitted intrinsics

Good day, everyone. I am working on a project. React/js/vite and stumbled upon this error of

“X [ERROR] Two output files share the same path but have different contents: node_modules.vitedeps_temp_eeee2960react.j

The above error occurs in my terminal

The below error occurs in my chrome console
Removing unpermitted intrinsics
client:556 [vite] server connection lost. Polling for restart…
:5173/node_modules/.vite/deps/react-dom_client.js?v=edb49463:1

   Failed to load resource: net::ERR_CONNECTION_RESETUnderstand this errorAI

:5173/node_modules/.vite/deps/react-router-dom.js?v=1f4580c2:1

   Failed to load resource: net::ERR_CONNECTION_RESET

i expect to get the server running back after resolving this I have deleted my node modules, package.json, change the port, and also cleared my cache, but nothing is working.