3

I know there are many posts regarding this, however the other posts do not seem to fix my issue.

Image of Error

app.JSON

{
  "expo": {
    "sdkVersion": "25.0.0"
  }
}

Package.json

"dependencies": {
    "expo": "^25.0.0",
    "react": "16.2.0",
    "react-native": "^0.52.0",
    "react-native-camera": "^1.0.3"
  }

Any help is appreciated, thanks.

1
  • 2
    So people don't run around in circles suggesting things you've tried, please add all of the suggestions you're attempted that didn't work. Commented Mar 29, 2018 at 13:28

2 Answers 2

3

I had a similar issue after trying different suggestions and failed, I finally got a solution to the problem. For me, I opened the package.json file and change the react-native version to match that of the JavaScript version as shown in the console error then ran the following commands in the project root:

    npm install
    npm start

now it works fine.

Sign up to request clarification or add additional context in comments.

Comments

1

I know it's much too late, but I hope my answer is helpful for other viewers.
You only have to install:

react-native upgrade 

and then run your project.

Comments

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Start asking to get answers

Find the answer to your question by asking.

Ask question

Explore related questions

See similar questions with these tags.