Search code examples
reactjstypescriptreact-nativecompilationexpo

compiling js failed React Native Expo TS working for IOS but not for android


enter image description here

I attempted to delete the node_modules directory, reinstall it, and launch a new emulator, but encountered the same error as shown in the screenshot. iOS functions properly; however, this issue arose after installing expo install [email protected] and expo install [email protected], along with npm i native-base. Even after switching branches and cloning the project again, the errors persisted


Solution

  • Thats a problem on macos, you just need to restart your macbook, in my situation its helped