{"record":{"id":"555bb766cb1825c9","repo":"facebook/react","slug":"101","errorCode":"101","errorMessage":"EventPluginRegistry: Cannot inject event plugin ordering more than once. You are likely trying to load more than one copy of React.","messagePattern":"EventPluginRegistry: Cannot inject event plugin ordering more than once\\. You are likely trying to load more than one copy of React\\.","errorType":"exception","errorClass":"Error","httpStatus":null,"severity":"error","filePath":"packages/react-native-renderer/src/legacy-events/EventPluginRegistry.js","lineNumber":217,"sourceCode":" */\nexport const possibleRegistrationNames: {\n  [lowerCasedName: string]: string,\n} = __DEV__ ? {} : (null as any);\n// Trust the developer to only use possibleRegistrationNames in __DEV__\n\n/**\n * Injects an ordering of plugins (by plugin name). This allows the ordering\n * to be decoupled from injection of the actual plugins so that ordering is\n * always deterministic regardless of packaging, on-the-fly injection, etc.\n *\n * @param {array} InjectedEventPluginOrder\n * @internal\n */\nexport function injectEventPluginOrder(\n  injectedEventPluginOrder: EventPluginOrder,\n): void {\n  if (eventPluginOrder) {\n    throw new Error(\n      'EventPluginRegistry: Cannot inject event plugin ordering more than ' +\n        'once. You are likely trying to load more than one copy of React.',\n    );\n  }\n\n  // Clone the ordering so it cannot be dynamically mutated.\n  // $FlowFixMe[method-unbinding] found when upgrading Flow\n  eventPluginOrder = Array.prototype.slice.call(injectedEventPluginOrder);\n  recomputePluginOrdering();\n}\n\n/**\n * Injects plugins to be used by plugin event system. The plugin names must be\n * in the ordering injected by `injectEventPluginOrder`.\n *\n * Plugins can be injected as part of page initialization or on-the-fly.\n *\n * @param {object} injectedNamesToPlugins Map from names to plugin modules.","sourceCodeStart":199,"sourceCodeEnd":235,"githubUrl":"https://github.com/facebook/react/blob/eafeac097ba51e1eab809c07102126bd5f8e5425/packages/react-native-renderer/src/legacy-events/EventPluginRegistry.js#L199-L235","documentation":"Error \"EventPluginRegistry: Cannot inject event plugin ordering more than once. You are likely trying to load more than one copy of React.\" thrown in facebook/react.","triggerScenarios":"Thrown at packages/react-native-renderer/src/legacy-events/EventPluginRegistry.js:217 when the library encounters an invalid state.","commonSituations":"See trigger scenarios.","solutions":[],"exampleFix":null,"handlingStrategy":null,"validationCode":null,"typeGuard":null,"tryCatchPattern":null,"preventionTips":[],"tags":[],"backgroundTag":null,"analyzedSha":"eafeac097ba51e1eab809c07102126bd5f8e5425","analyzedAt":"2026-08-21T22:01:08.818Z","schemaVersion":2},"datasetVersion":"2026-08-21T23:17:16.201Z"}