I set up a new typescript project on react native using expo and tried to use "src" as the folder structuretsconfig.json
is defined like this
{"compilerOptions": {"noImplicitAny": true,"noEmit": true,"allowSyntheticDefaultImports": true,"allowJs": true,"esModuleInterop": true,"isolatedModules": true,"jsx": "react-native","lib": ["es6", "dom", "esnext"],"moduleResolution": "node","baseUrl": ".","skipLibCheck": true,"resolveJsonModule": true,"paths": {"@app/*": ["./src/*"] } },"include": ["src/**/*", "src/App.tsx"],"extends": "expo/tsconfig.base"}
The main error is this
Logs for your project will appear below. Press Ctrl+C to exit.iOS Bundling failed 29msUnable to resolve "../../App" from "node_modules/expo/AppEntry.js"› Reloading appsiOS Bundling failed 7msUnable to resolve "../../App" from "node_modules/expo/AppEntry.js"› Reloading appsiOS Bundling failed 4msUnable to resolve "../../App" from "node_modules/expo/AppEntry.js"
I tried all the methods used in other topics related to this on stackverflow but nothing that was similar helped