Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Invariant Violation: "passages" has not been registered. This can happen if: #221

Open
ahmedIcots opened this issue Mar 30, 2024 · 0 comments

Comments

@ahmedIcots
Copy link

  • Metro (the local dev server) is run from the wrong folder. Check if Metro is running, stop it and restart it in the current project.
  • A module failed to load due to an error and AppRegistry.registerComponent wasn't called., js engine: hermes

package.json : {
"name": "passages",
"version": "0.0.1",
"private": true,
"scripts": {
"android": "react-native run-android",
"ios": "react-native run-ios",
"lint": "eslint .",
"start": "react-native start",
"test": "jest"
},
"dependencies": {
"@alirehman7141/react-native-audiowaveform": "^2.0.6",
"@carchaze/react-native-voice-message-player": "^1.0.4",
"@flyskywhy/react-native-browser-polyfill": "^2.0.1",
"@flyskywhy/react-native-gcanvas": "^6.0.11",
"@google-ai/generativelanguage": "^1.1.0",
"@ptomasroos/react-native-multi-slider": "^2.2.2",
"@pusher/pusher-websocket-react-native": "^0.15.2",
"@react-native-async-storage/async-storage": "^1.17.5",
"@react-native-camera-roll/camera-roll": "^7.2.2",
"@react-native-community/blur": "^4.3.2",
"@react-native-community/checkbox": "^0.5.16",
"@react-native-community/slider": "^4.5.0",
"@react-native-firebase/app": "^18.6.1",
"@react-native-firebase/auth": "^18.6.1",
"@react-native-firebase/messaging": "^18.6.1",
"@react-native-google-signin/google-signin": "^10.1.1",
"@react-native-masked-view/masked-view": "^0.3.1",
"@react-native-picker/picker": "^2.5.1",
"@react-navigation/bottom-tabs": "^6.3.1",
"@react-navigation/native": "^6.0.10",
"@react-navigation/native-stack": "^6.6.2",
"axios": "^0.27.2",
"bard-ai": "^2.0.3",
"bard-api-node": "^1.3.2",
"google-auth-library": "^9.2.0",
"hex-rgb": "^5.0.0",
"libphonenumber-js": "^1.10.49",
"moment": "^2.29.4",
"radio-buttons-react-native": "^1.0.4",
"react": "18.2.0",
"react-native": "0.72.4",
"react-native-audio-record": "^0.2.2",
"react-native-audio-recorder-player": "^3.6.6",
"react-native-calendars": "^1.1286.0",
"react-native-check-box": "^2.1.7",
"react-native-contacts": "^7.0.8",
"react-native-date-picker": "^4.2.14",
"react-native-device-info": "^10.12.0",
"react-native-document-picker": "^8.1.1",
"react-native-dropdown-picker": "^5.4.6",
"react-native-fast-image": "^8.6.3",
"react-native-fbsdk-next": "^12.1.1",
"react-native-fs": "^2.20.0",
"react-native-gifted-charts": "^1.2.34",
"react-native-image-crop-picker": "^0.38.0",
"react-native-image-picker": "^7.1.0",
"react-native-keyboard-aware-scroll-view": "^0.9.5",
"react-native-linear-gradient": "^2.8.2",
"react-native-live-audio-fft": "^1.3.0",
"react-native-modal": "^13.0.1",
"react-native-otp-textinput": "^1.1.3",
"react-native-permissions": "^4.1.1",
"react-native-phone-input": "^1.3.7",
"react-native-progress": "^5.0.0",
"react-native-reanimated": "3.7.1",
"react-native-responsive-screen": "^1.4.2",
"react-native-safe-area-context": "^4.2.5",
"react-native-screens": "^3.13.1",
"react-native-share": "^10.0.2",
"react-native-share-extension": "^2.0.0",
"react-native-sound": "^0.11.2",
"react-native-sound-player": "^0.13.2",
"react-native-splash-screen": "^3.3.0",
"react-native-svg": "^12.3.0",
"react-native-svg-transformer": "^1.0.0",
"react-native-swiper": "^1.6.0",
"react-native-toast-message": "^2.1.5",
"react-native-vector-icons": "^9.1.0",
"react-native-video": "^5.2.1",
"react-native-video-player": "^0.14.0",
"react-native-vision-camera": "^3.8.2",
"react-redux": "^8.0.2",
"redux": "^4.2.0",
"redux-logger": "^3.0.6",
"redux-persist": "^6.0.0",
"redux-thunk": "^2.4.1"
},
"devDependencies": {
"@babel/core": "^7.20.0",
"@babel/preset-env": "^7.20.0",
"@babel/runtime": "^7.20.0",
"@react-native/eslint-config": "^0.72.2",
"@react-native/metro-config": "^0.72.11",
"@tsconfig/react-native": "^3.0.0",
"@types/react": "^18.0.24",
"@types/react-test-renderer": "^18.0.0",
"babel-jest": "^29.2.1",
"eslint": "^8.19.0",
"jest": "^29.2.1",
"metro-react-native-babel-preset": "0.76.8",
"prettier": "^2.4.1",
"react-test-renderer": "18.2.0",
"typescript": "4.8.4"
},
"engines": {
"node": ">=16"
}
}

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant