question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Unable to resolve module `react-native/Libraries/Renderer/shims/ReactNativeBridgeEventPlugin`

See original GitHub issue

Is this a bug report?

yes

Have you read the Contributing Guidelines?

yes

Environment

Steps to Reproduce

I started my project 2 months ago. my project worked correctly until I forced relaunch project(removed project files and git clone project from GitHub and npm install after npm start). 1.npm install or yarn install (Tested with both) 2.npm start or yarn start

Expected Behavior

I expected start project correctly.

Actual Behavior

1 2 3

also after run npm ls : 4

package.json

{
  "name": "sirin",
  "version": "0.1.0",
  "private": true,
  "devDependencies": {
    "jest-expo": "~20.0.0",
    "react-native-scripts": "1.2.1",
    "react-test-renderer": "16.0.0-alpha.12"
  },
  "main": "./node_modules/react-native-scripts/build/bin/crna-entry.js",
  "scripts": {
    "links": "react-native link",
    "start": "react-native-scripts start",
    "eject": "react-native-scripts eject",
    "android": "react-native-scripts android",
    "ios": "react-native-scripts ios",
    "test": "node node_modules/jest/bin/jest.js --watch"
  },
  "jest": {
    "preset": "jest-expo"
  },
  "rnpm": {
    "assets": [
      "src/assets/fonts"
    ]
  },
  "dependencies": {
    "art": "^0.10.1",
    "d3": "^4.10.2",
    "d3-array": "^1.2.1",
    "d3-path": "^1.0.5",
    "d3-shape": "^1.2.0",
    "expo": "^20.1.3",
    "prop-types": "^15.5.10",
    "react": "16.0.0-alpha.12",
    "react-native": "^0.47.0",
    "react-native-chart": "^1.0.8-beta",
    "react-native-charts-wrapper": "^0.2.10",
    "react-native-circular-progress": "^0.0.8",
    "react-native-customisable-switch": "^0.1.0",
    "react-native-datepicker": "^1.6.0",
    "react-native-device-info": "^0.11.0",
    "react-native-drawer": "^2.5.0",
    "react-native-elements": "^0.16.0",
    "react-native-filesystem": "^0.1.0",
    "react-native-gesture-handler": "^1.0.0-alpha.31",
    "react-native-installed-apps": "0.0.6",
    "react-native-keyboard-aware-scroll-view": "^0.3.0",
    "react-native-material-switch": "^0.0.4",
    "react-native-modal": "^3.1.0",
    "react-native-pathjs-charts": "0.0.31",
    "react-native-progress": "^3.4.0",
    "react-native-progress-circle": "^2.0.0",
    "react-native-responsive-image": "^2.1.0",
    "react-native-shadow": "^1.2.1",
    "react-native-side-menu": "^1.0.2",
    "react-native-simple-toast": "^0.0.7",
    "react-native-snap-carousel": "^3.2.2",
    "react-native-svg": "^5.4.1",
    "react-native-svg-image": "^2.0.0",
    "react-native-svg-uri": "^1.2.1",
    "react-native-switch": "^1.1.0",
    "react-native-vector-icons": "^4.3.0",
    "react-navigation": "^1.0.0-beta.11",
    "redux-thunk": "^2.2.0"
  }
}

Reproducible Demo

I cannot be launched project so I cannot show a demo. I think is the problems of GestureHandler.js but I cannot solve it. I tested project with new versions (react,react-native, expo) problems solved.but I cannot update those versions because the UI components will be broken.

Issue Analytics

  • State:closed
  • Created 6 years ago
  • Reactions:1
  • Comments:21

github_iconTop GitHub Comments

4reactions
simjohcommented, Nov 21, 2017

I solved this as npm uninstall react-native-gesture-handler npm install -save react-native-gesture-handler@1.0.0-alpha.27

2reactions
luklappcommented, Nov 17, 2017

Maybe try to update to Expo v22.0.0 or latest (v23.0.0), looks like the dependency is fixed there!

Read more comments on GitHub >

github_iconTop Results From Across the Web

0.62.1. error: Error: Unable to resolve module `react-native ...
1. Deleted node_modules, watchman, metro cache etc. Build completes but application fails to start with the error: error: Error: Unable to resolve module...
Read more >
React Native (newer version): "Unable to resolve module"
The problem occurs with all modules that I tried to install and to import, e.g. react-renderif and native-base. Do you have any ideas...
Read more >
MongoDB Atlas App Services & Realm
Fresh Setup: Realm React Native Error: Unable to resolve module `./subscription` from `node_modules/realm/lib/browser/index.js`.
Read more >
React Native, Typescript and VS Code: Unable to resolve ...
The problem with resolving modules turned out to be related to VS Code's typescript project helper.
Read more >
Error: Unable to resolve module `util` – Split Help Center
Running bundle using React Native and Javascript SDK causes an error. Bundling failed: Error: Unable to resolve module `util`.
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found