metro
metro copied to clipboard
None of these files exist
Description
I've seen this issue on previous versions of react native. For clarification I am using version 0.72.0
Put simply, everytime I load 'npx react-native run-android' I get the "none of these files exist" issue
This is temporarily fixable by going into every single .js front end file and literally just resaving each file by pressing ctrl S. However this obviously isn't a long term solution.
I have installed watchman through chocolatey however when I do 'npx react native info' it says watchman is not installed Here's proof that it is.
Has anyone else had this problem or know how to solve it?
React Native Version
0.72.0
Output of npx react-native info
System: OS: Windows 11 10.0.22621 CPU: "(16) x64 AMD Ryzen 7 5800H with Radeon Graphics " Memory: 866.36 MB / 13.86 GB Binaries: Node: version: 18.16.0 path: C:\Program Files\nodejs\node.EXE Yarn: Not Found npm: version: 9.7.2 path: C:\Program Files\nodejs\npm.CMD Watchman: Not Found SDKs: Android SDK: Not Found Windows SDK: Not Found IDEs: Android Studio: AI-221.6008.13.2211.9514443 Visual Studio: - 17.4.33213.308 (Visual Studio Community 2022) Languages: Java: 11.0.20 Ruby: Not Found npmPackages: "@react-native-community/cli": Not Found react: installed: 18.2.0 wanted: ^18.2.0 react-native: installed: 0.72.7 wanted: ^0.72.0 react-native-windows: Not Found npmGlobalPackages: "react-native": Not Found Android: hermesEnabled: true newArchEnabled: false iOS: hermesEnabled: Not found newArchEnabled: Not found
Steps to reproduce
I'm not exactly sure what caused this. My code was working until it wasn't. The accepted fixes from other issues raised hasn't worked.
Snack, screenshot, or link to a repository
https://github.com/Hum2a/Breathapplyser
:warning: | Newer Version of React Native is Available! |
---|---|
:information_source: | You are on a supported minor version, but it looks like there's a newer patch available - 0.72.7. Please upgrade to the highest patch for your minor or latest and verify if the issue persists (alternatively, create a new project and repro the issue in it). If it does not repro, please let us know so we can close out this issue. This helps us ensure we are looking at issues that still exist in the most recent releases. |
Passing over to Metro as this error is generated by it