React-native: node_modules/react-native/Libraries/react-native/react-native-implementation.js: Cannot read property 'bindings' of null (null))

Created on 6 Jul 2018  路  6Comments  路  Source: facebook/react-native

I am using react-native-cli: 2.0.1 and react-native: 0.56.0

Getting error: node_modules/react-native/Libraries/react-native/react-native-implementation.js: Cannot read property 'bindings' of null (null))

Also I have attached screen shot of simulator.

simulator screen shot - iphone 6 - 2018-07-06 at 17 27 06

Please use https://discuss.reactjs.org/ to propose changes or discuss feature requests.

If you feel strongly about starting a discussion as a GitHub Issue instead of using the discussion forum, you may follow this template.

We kindly ask that issues of this type are kept to a minimum to ensure bug reports and regressions are given the priority they require.

Maintainers may flag an issue for Stack Overflow or kindly ask you to move the discussion to https://discuss.reactjs.org at their own discretion.


For Discussion

Locked Invalid

Most helpful comment

@parthpatel1105 My problem went away. I had copied a package.json from an old project and forgot to look over the dev dependencies. It turned out that I had babel-preset-react-native version 4 still in the config. npm i babel-preset-react-native@5solved this.

Sorry for keeping the discussion alive in a closed issue. I just wanted to ping the OP with my solution.

All 6 comments

I'll close this in favour of #19827, which is where we are "collecting" all the Babel-config related issues.

yes but where is solution to fix this issue. I have checked all solutions but having same error.

I'm confused as well. I have the same problem and I tried to follow the link to issue #19827. I can see the reference to this issue from there, but no discussion regarding the actual problem.

What can we do to help solving this problem?

some of them are discussing about babel-preset-react-native But I haven't used this in my code.

@parthpatel1105 My problem went away. I had copied a package.json from an old project and forgot to look over the dev dependencies. It turned out that I had babel-preset-react-native version 4 still in the config. npm i babel-preset-react-native@5solved this.

Sorry for keeping the discussion alive in a closed issue. I just wanted to ping the OP with my solution.

@facebook-github-bot answered

Was this page helpful?
0 / 5 - 0 ratings