After ejecting my app (with expo 38) and building the app for android, it can’t find the source code of the app.
The code structure looks like this:
android/
ios/
src/
App.js => actual app code
index.js => entry point
index.js imports App.js. App.js import several files from src.
Running npm start && npm run android
it builds the app correctly and it starts on my simulator. However, it can’t find the modules placed in src/. The server returns the following message:
[Mon Jul 20 2020 19:19:02.983] BUNDLE ./index.js
error: Error: Unable to resolve module
src/HOC/DataLoader.jsxfrom
App.js: src/HOC/DataLoader.jsx could not be found within the project.