Android Bundling Failures v4.12.10

Expo version v4.12.10
Trying to build an audio recorder, running into bundling issues as I import expo-av. I am out of options,
spent too many hours researching and trying to resolve the error, please let me know the solution:
The only import in the code is
import { Audio } from ‘expo-av’;, which breaks the build.

Android Bundling failed 1032ms
Unable to resolve module ./RecordingConstants from C:\Programs\COVID-19Detector\app\CVDAPP\node_modules\expo-av\build\Audio\Recording.js:

None of these files exist:

  • node_modules\expo-av\build\Audio\RecordingConstants(.native|.android.ts|.native.ts|.ts|.android.tsx|.native.tsx|.tsx|.android.js|.native.js|.js|.android.jsx|.native.jsx|.jsx|.android.json|.native.json|.json)

1 | import { EventEmitter, Platform } from ‘@unimodules/core’;
2 | import { PermissionStatus } from ‘expo-modules-core’;
4 | import ExponentAV from ‘…/ExponentAV’;

Hey @fuzzyelk, the version number you shared is the expo-cli version not the version of the expo package you are using.

Can you share your package.json here?


Here’s the package, I don’t see expo-cli, in this package. Maybe it was not installed, let me install and try again, or if you see any other issue, please let me know as well.

  "main": "node_modules/expo/AppEntry.js",
  "scripts": {
    "start": "expo start",
    "android": "set REACT_NATIVE_PACKAGER_HOSTNAME= && expo start --android",
    "ios": "expo start --ios",
    "web": "expo start --web",
    "eject": "expo eject"
  "dependencies": {
    "@react-native-async-storage/async-storage": "^1.15.9",
    "@react-navigation/native": "^6.0.6",
    "@react-navigation/native-stack": "^6.2.5",
    "@tensorflow/tfjs": "^3.9.0",
    "@tensorflow/tfjs-react-native": "^0.7.0",
    "axios": "^0.23.0",
    "expo": "~42.0.1",
    "expo-camera": "^11.2.2",
    "expo-constants": "~11.0.1",
    "expo-document-picker": "~9.2.4",
    "expo-file-system": "~11.1.3",
    "expo-gl": "~10.4.2",
    "expo-gl-cpp": "~10.4.1",
    "expo-status-bar": "~1.0.4",
    "form-data": "^4.0.0",
    "react": "16.13.1",
    "react-dom": "16.13.1",
    "react-native": "",
    "react-native-audio-4expo": "0.0.7",
    "react-native-audio-recorder-player": "^3.2.0",
    "react-native-screens": "^3.8.0",
    "react-native-web": "~0.13.12",
    "tflite-react-native": "0.0.5",
    "expo-av": "~9.2.3"
  "devDependencies": {
    "@babel/core": "^7.9.0"
  "private": true