one icon indicating copy to clipboard operation
one copied to clipboard

Example fails on Expo with Unable to resolve "../../App" from "node_modules/expo/AppEntry.js

Open Arsenalist opened this issue 4 months ago • 5 comments

Saw on Hacker News and gave it a shot. Tried to publish on EAS and create a development build, got it done successfully but when I run npm run ios I get this error in the simulator:

../../App" from "node_modules/expo/AppEntry.js None of these fiels exist: App(.ios,ts|.native.ts etc...

image

I'm on Node 18.19.0, here's the package.json:

{
  "name": "jump-akh",
  "version": "1.1.295",
  "private": true,
  "type": "module",
  "scripts": {
    "dev": "one dev",
    "dev:clean": "one dev --clean",
    "clean": "one clean",
    "prebuild:native": "one prebuild",
    "build:web": "one build",
    "serve": "one serve",
    "ios": "EXPO_NO_TELEMETRY=true expo run:ios",
    "android": "EXPO_NO_TELEMETRY=true expo run:android",
    "upgrade:tamagui": "yarn up '*tamagui*' '@tamagui/*'"
  },
  "installConfig": {
    "hoistingLimits": "workspaces"
  },
  "dependencies": {
    "@tamagui/animations-moti": "^1.112.21",
    "@tamagui/colors": "^1.112.21",
    "@tamagui/image-next": "^1.112.21",
    "@tamagui/lucide-icons": "^1.112.21",
    "@tamagui/react-native-media-driver": "^1.112.21",
    "@types/react": "~18.2.79",
    "@vxrn/color-scheme": "1.1.295",
    "babel-plugin-module-resolver": "^5.0.2",
    "expo": "~51.0.34",
    "expo-dev-client": "~4.0.27",
    "expo-modules-core": "^1.12.24",
    "one": "1.1.295",
    "react": "^18.3.1",
    "react-native": "0.75",
    "react-native-reanimated": "~3.10.1",
    "react-native-screens": "3.31.1",
    "react-native-svg": "15.2.0",
    "react-native-web": "^0.19.12",
    "tamagui": "^1.112.21"
  },
  "devDependencies": {
    "@biomejs/biome": "^1.8.3",
    "@tamagui/vite-plugin": "^1.112.21",
    "vite": "6.0.0-beta.1"
  }
}

Arsenalist avatar Oct 05 '24 15:10 Arsenalist