Skip to content

Invariant Violation: Tried to register two views with the same name RNCWebView #7

@durdevic

Description

@durdevic

I already have react-native-webview in my package.json and use it in my app, I believe this is why the error shows up. It disappears the moment I don't render the ChatWidget.

A solution that crosses my mind is not to add react-native-webview widgets package.json, but additionally just add to root package json as proprietary package so that this conflict doesn't happen.

The app works when I remove the react-native-webview from the inside of node_modules. 💪

ERROR Invariant Violation: Tried to register two views with the same name RNCWebView
(node:96746) MaxListenersExceededWarning: Possible EventEmitter memory leak detected. 11 change listeners added. Use emitter.setMaxListeners() to increase limit

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions