I am facing this issue in ionic 5 react base project when run in mobile
cmd=>npx cap add android
[error] The web directory (G:\ashwini\ionicprojects\reactproj\src) must contain a "index.html". It will be the entry point for the web portion of the Capacitor app.