While starting the server for the first time just after the code checkout , my react js project is throwing error \"events.js:187 throw er; // Unhandled \'error\'
Try to execute export PATH=$PATH:/mnt/c/Windows/System32. Change the path /mnt/c/ to the path mounted on your wsl Windows (mount).
PATH=$PATH:/mnt/c/Windows/System32
/mnt/c/
if it works, insert the path /mnt/c/Windows/System32 into the file /etc/environment.
/mnt/c/Windows/System32
/etc/environment
here in my case this solution worked