Metro Bundler Internal errror

Hey, in my expo app I keep getting the error message that "Metro Bundler has encountered an internal error, please check your terminal error output for more details. When I look in my terminal it says

“Building JavaScript bundle: error, ENOENT: no such file or directory”

I am curious to know what is the root cause and how to go about fixing it.

Hey @tobiappdeveloper,

Does this only occur in your current project? If you don’t have another expo project to test with, I would recommend creating a new project via expo init and trying to run expo start.

Cheers,
Adam

This error occurs in every project I have tried to create using expo. I wondering if this is because of an error in my code?

Hmmm. If it’s occurring in a freshly created project, it’s not an issue with any code you’ve written. Can you run expo diagnostics and paste the log that’s printed out here?

This is what I get when I run expo diagnostics,

Expo CLI 2.21.2 environment info:
System:
OS: Windows 10
Binaries:
npm: 6.9.0 - C:\Program Files\nodejs\npm.CMD