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

TypeError: null is not an object (evaluating '_reactNativeMatrixSdk.default.configure') #19

Open
NeerajPise opened this issue Dec 17, 2021 · 1 comment

Comments

@NeerajPise
Copy link

NeerajPise commented Dec 17, 2021

I'm on react-native-matrix-sdk@1.0.0-alpha74. After installing it using the mentioned steps, I ran into the error on the first code line after importing (MatrixSdk.configure('http://localhost:8008')) -

TypeError: null is not an object (evaluating '_reactNativeMatrixSdk.default.configure')

This error is located at:
    in App (created by ExpoRoot)
    in ExpoRoot
    in RCTView (created by View)
    in View (created by AppContainer)
    in DevAppContainer (created by AppContainer)
    in RCTView (created by View)
    in View (created by AppContainer)
    in AppContainer
at node_modules/react-native/Libraries/Core/ExceptionsManager.js:104:6 in reportException
at node_modules/react-native/Libraries/Core/ExceptionsManager.js:172:19 in handleException
at node_modules/react-native/Libraries/Core/setUpErrorHandling.js:24:6 in handleError
at node_modules/expo-error-recovery/build/ErrorRecovery.fx.js:12:21 in ErrorUtils.setGlobalHandler$argument_0

Do you know what could cause this?

P.S. While installing, I got the following error so I installed with the --legacy-peer-deps flag
Screenshot 2021-12-17 at 11 25 43 AM

@vunguyen464301
Copy link

i faced this problem, so i didn't have any solution !

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

2 participants