When expo eject
:
✔ App configuration (app.json) updated.
✔ Created native project directories (./ios and ./android) and updated .gitignore.
✔ Updated package.json and added index.js entry point for iOS and Android.
✖ Something when wrong installing dependencies, check your package manager logfile. Continuing with ejecting, you can debug this afterwards.
⚠️ iOS configuration applied with warnings that should be fixed:
- icon: This is the image that your app uses on your home screen, you will need to configure it manually.
- splash: This is the image that your app uses on the loading screen, we recommend installing and using expo-splash-screen. Details.
⚠️ Android configuration applied with warnings that should be fixed:
- splash: This is the image that your app uses on the loading screen, we recommend installing and using expo-splash-screen. Details.
- icon: This is the image that your app uses on your home screen, you will need to configure it manually.
✔ Skipped installing CocoaPods because operating system is not on macOS.
Cannot find module 'expo/requiresExtraSetup.json'
Require stack:
- /home/bidetaggle/Desktop/boxbeat-media/noop.js
Error: Cannot find module 'expo/requiresExtraSetup.json'
Require stack:
- /home/bidetaggle/Desktop/boxbeat-media/noop.js
at Function.Module._resolveFilename (internal/modules/cjs/loader.js:952:15)
at resolveFileName (/usr/local/lib/node_modules/expo-cli/node_modules/resolve-from/index.js:29:39)
at resolveFrom (/usr/local/lib/node_modules/expo-cli/node_modules/resolve-from/index.js:43:9)
at Object.module.exports [as default] (/usr/local/lib/node_modules/expo-cli/node_modules/resolve-from/index.js:46:47)
at resolveModule (/usr/local/lib/node_modules/expo-cli/node_modules/@expo/config/src/Modules.ts:13:21)
at warnIfDependenciesRequireAdditionalSetupAsync (/usr/local/lib/node_modules/expo-cli/src/commands/eject/Eject.ts:526:5)
at Object.ejectAsync (/usr/local/lib/node_modules/expo-cli/src/commands/eject/Eject.ts:54:9)
at action (/usr/local/lib/node_modules/expo-cli/src/commands/eject.ts:36:5)
at Command.<anonymous> (/usr/local/lib/node_modules/expo-cli/src/exp.ts:85:7)
I tried to eject a fresh expo init
project and everything went good then it doesn’t seem to come from my expo installation.
My package.json:
{
"main": "node_modules/expo/AppEntry.js",
"name": "app",
"scripts": {
"start": "expo start",
"android": "expo start --android",
"ios": "expo start --ios",
"web": "expo start --web",
"eject": "expo eject",
"test": "jest --watchAll"
},
"jest": {
"preset": "jest-expo"
},
"dependencies": {
"@expo/samples": "~37.0.0",
"@expo/vector-icons": "~10.0.0",
"@fortawesome/fontawesome-svg-core": "^1.2.26",
"@fortawesome/free-solid-svg-icons": "^5.12.0",
"@fortawesome/react-native-fontawesome": "^0.2.0",
"@react-navigation/native": "^5.1.1",
"@react-navigation/web": "~1.0.0-alpha.9",
"expo": "~37.0.0",
"expo-asset": "~8.1.4",
"expo-camera": "~8.2.0",
"expo-cli": "^3.20.1",
"expo-constants": "~9.0.0",
"expo-font": "~8.1.0",
"expo-image-picker": "~8.1.0",
"expo-payments-stripe": "~8.1.0",
"expo-web-browser": "~8.2.0",
"jwt-decode": "^2.2.0",
"react": "~16.9.0",
"react-dom": "~16.9.0",
"react-native": "https://github.com/expo/react-native/archive/sdk-37.0.0.tar.gz",
"react-native-auto-scrolling": "^2.0.0",
"react-native-datepicker": "^1.7.2",
"react-native-gesture-handler": "~1.6.0",
"react-native-gifted-chat": "^0.13.0",
"react-native-image-slider-box": "^1.0.12",
"react-native-reanimated": "~1.7.0",
"react-native-screens": "2.2.0",
"react-native-simple-radio-button": "^2.7.4",
"react-native-svg": "11.0.1",
"react-native-unimodules": "^0.9.1",
"react-native-web": "~0.11.7",
"react-native-webview": "8.1.1",
"react-navigation": "~4.0.10",
"react-navigation-stack": "~1.10.3",
"react-navigation-tabs": "~2.6.2",
"socket.io-client": "^2.3.0"
},
"devDependencies": {
"@babel/core": "^7.0.0",
"babel-preset-expo": "~8.0.0",
"jest-expo": "~37.0.1"
},
"private": true
}