ENOENT: no such file or directory, but is trying to open a url inside a folder

Hi, I have an expo yarn react-native project. But whenever i try to start the app or do anything inside it this error gets thrown at least 20 times:

Error: ENOENT: no such file or directory, open '/Users/utente/MyProjects/yt-dl/http:/'
    at Object.openSync (fs.js:476:3)
    at Object.readFileSync (fs.js:377:35)
    at getCodeFrame (/Users/utente/MyProjects/yt-dl/node_modules/metro/src/Server.js:919:18)
    at Server._symbolicate (/Users/utente/MyProjects/yt-dl/node_modules/metro/src/Server.js:992:22)
    at processTicksAndRejections (internal/process/task_queues.js:93:5)
    at Server._processRequest (/Users/utente/MyProjects/yt-dl/node_modules/metro/src/Server.js:403:7) {
  errno: -2,
  syscall: 'open',
  code: 'ENOENT',
  path: '/Users/utente/MyProjects/yt-dl/http:/'

The strangest thing about this is that the “file or directory” is actually the path to my project and the url to the app glued together.


Is this normal? Am i missing some configs?

I fixed it for now by initializing a new project and copying the files from one project to the other. Might open an issue on github tho. If anyone has any idea it would still be very helpful