Skip to content

EventPluginRegistry: Cannot inject event plugin ordering more than once. You are likely trying to load more than one copy of React. #49

Open
@SarjuHansaliya

Description

@SarjuHansaliya

I am facing this issue when I uncomment following line.

import { EditComponentFactory } from 'redux-autoform-bootstrap-ui';

Here is my package.json

"dependencies": {
    "react": "^15.3.2",
    "react-native": "^0.33.0",
    "react-redux": "^4.4.5",
    "react-select": "^1.0.0-rc.2",
    "redux": "^3.6.0",
    "redux-autoform": "^0.10.0",
    "redux-autoform-bootstrap-ui": "^1.7.1-experimental",
    "redux-form": "^6.0.2",
    "tcomb-form-native": "^0.6.1"
  },
  "devDependencies": {
    "babel-cli": "^6.14.0",
    "babel-plugin-add-module-exports": "^0.2.1",
    "babel-plugin-transform-decorators-legacy": "^1.3.4",
    "babel-preset-es2015": "^6.14.0",
    "babel-preset-jason": "^1.0.1",
    "babel-preset-react": "^6.11.1",
    "babel-preset-react-hmre": "^1.1.1",
    "babel-preset-stage-0": "^6.5.0",
    "grunt": "^1.0.1",
    "grunt-tslint": "^3.2.1",
    "tslint": "^3.15.1",
    "typescript": "^1.8.10",
    "typings": "^1.3.3"
  }

And here is my imports in main file.

import React,{ Component } from 'react';
import {
  AppRegistry,
  StyleSheet,
  Text,
  View,
  TextInput,TouchableHighlight
} from 'react-native';
import {AutoForm} from 'redux-autoform';
import { EditComponentFactory } from 'redux-autoform-bootstrap-ui';

Can you help me what might be the issue?

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