Convert react native project to expo

I am trying to convert my reactive project to Expo using exp convert command line .

And I follow the following steps:


  • npm install -g exp

  • then i started 'exp convert'

The problem is that block execution at this level is shown below. so I was unable to complete the conversion process. Is there anyone who can help me solve it?

enter image description here

+3


source to share


1 answer


I'm not sure about this command exp convert

, but you can follow a few steps (and a few things to keep in mind), for example:

  • The RN project should not have built-in modules
  • make sure all dependencies are installed correctly - including Expo as a project dependency npm install --save expo

  • correctly set properties app.json

    for Expo [such as name, pool name and SDK version] in the directory with JS code
  • change record file [like index.js

    ]
  • create a file exp.json

    and also update your React / React Native version regarding what Expo requires


More details here: https://github.com/expo/xde#converting-an-existing-project-to-work-with-expo

+1


source







All Articles