Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Applying the migrating recommandation does not work, reproducable and simple example #90

Open
aymeric75 opened this issue Oct 31, 2022 · 0 comments

Comments

@aymeric75
Copy link

Hello,

I am trying to apply the directives from here. I am working on Windows and my Target IOS is Android.

Here is what I have done:

npx react-native init BareAwesomeProjectBis --version 0.64

Then I went in package.json but I did not see any react-native-unimodules

Then, since I don't think I have Expo (my goal was actually not to use Expo), I went on with:

npm install expo

But it showed a message :

"Unable to validate configuration." 
Property 'expo' in `app.json` for project at path C:\Users\aymer\Desktop\BareAwesomeProjectBis is not an object. Please make sure `app.json` includes a managed Expo app config like thi
s: {"expo":{"name":"My app","slug":"my-app","sdkVersion":"..."}}
Updating your app.json to account for breaking changes (if applicable)...

But I did not see any change in my app.json, so I updated it myself like this:

{
  "expo": {
    "sdkVersion": "43.0.0"
  },
  "name": "BareAwesomeProjectBis",
  "displayName": "BareAwesomeProjectBis"
}

But then when I ran:

expo upgrade 43

I got:

? What would you like your Android package name to be? » Uncaught Error Error: EPERM: operation not permitted, rename 'C:\Users\aymer\.expo\state.json.2919037473' -> 'C:\Users\aymer\.e
xpo\state.json'

As you can see, I did nothing crazy...

Help would be much appreciated!

Thanks

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant