Skip to content

Multiple Copies of react installed #8026

@nitish24p

Description

@nitish24p

I am using a few react components made by various libraries like material ui and i get this message

Invariant Violation: addComponentAsRefTo(...): Only a ReactOwner can have refs. You might be adding a ref to a component that was not created inside a component's `render` method, or you have multiple copies of React loaded (details: https://fb.me/react-refs-must-have-owner).

on doing npm ls react i can see only one version of react installed. I am using gulp and browserify for my build process. Any idea how i can solve this?

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