You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
i was referring the pusher official doc and implemented as it was given. I wanted to implement the chat feature for the react native expo app.When i used this code I got the error.
ERROR TypeError: Cannot read property 'getInstance' of undefined, js engine: hermes
ERROR Invariant Violation: "main" has not been registered. This can happen if:
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
if i remove that code everything works fine
The text was updated successfully, but these errors were encountered:
i was referring the pusher official doc and implemented as it was given. I wanted to implement the chat feature for the react native expo app.When i used this code I got the error.
const pusher = Pusher.getInstance();
await pusher.init({
apiKey: API_KEY,
cluster: API_CLUSTER
});
await pusher.connect();
ERROR TypeError: Cannot read property 'getInstance' of undefined, js engine: hermes
ERROR Invariant Violation: "main" has not been registered. This can happen if:
AppRegistry.registerComponent
wasn't called., js engine: hermesif i remove that code everything works fine
The text was updated successfully, but these errors were encountered: