Getting this error when running expo publish in GitHub Actions
[06:12:05] Unable to find an existing Expo CLI instance for this directory, starting a new one...
[06:12:05] app.json must include a JSON object.
[06:12:05] Set EXPO_DEBUG=true in your env to view the stack trace.
Can you please run expo diagnostics in the same directory where you ran the command that gave you this error and then paste the output here? Also, what command, exactly, did you run to get this error?
ββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββ
β β
β There is a new version of expo-cli available (3.11.3). β
β You are currently using expo-cli 3.8.0 β
β Install expo-cli globally using the package manager of your choice; for example: `npm install -g expo-cli` to get the latest version β
β β
ββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββ
It looks like you have two versions of expo-cli installed. e.g. one installed by yarn and one installed by npm. I suggest you uninstall the one you are not expecting. Also make sure you donβt have expo-cli installed as an actual dependency in your package.json.
What is the exact expo upload:ios command you are running when you get that error and are you in the appβs root directory when running it? Also, what does the following print?
OK nvm, I re installed the explo-cli and now itβs working. Btw actually what I wrote before is wrong, to set the apple id I use --apple-id-password. Before I wasnβt setting the apple id and I was still getting the error.