Hi everyone. I was doing this tutorial (MERN Stack Course - ALSO: Convert Backend to Serverless with MongoDB Realm - YouTube) of FCC and coding along. But when in minute 23 nodemon is used, my terminal keeps giving this error:
[nodemon] Internal watch failed: EISDIR: illegal operation on a directory, watch ‘//wsl$/Ubuntu/home/sahand/Projects/Restaurant-Reviews/backend’
I understand that the EISDIR error means that the command is looking for a file but I am giving it a folder, but server.js is a file!
i’d appreciate it if anyone could tell me what is happening here.