Can't link to project after switching to organization

Hi everyone !
After transitioning from a personal account to an organization I can’t build and submit anymore because it looks like I’m still linked to @personal-account/project-name instead of @organization/project-name.
When trying to link to the organization project with eas project:init it fails with Error: No config exists

expo diagnostics:
Expo CLI 4.9.1 environment info:
System:
OS: macOS 11.4
Shell: 5.8 - /bin/zsh
Binaries:
Node: 16.6.1 - /usr/local/bin/node
Yarn: 1.22.11 - /usr/local/bin/yarn
npm: 7.20.3 - /usr/local/bin/npm
Managers:
CocoaPods: 1.10.1 - /usr/local/bin/pod
SDKs:
iOS SDK:
Platforms: iOS 14.5, DriverKit 20.4, macOS 11.3, tvOS 14.5, watchOS 7.4
Android SDK:
Android NDK: 23.0.7123448-beta1
IDEs:
Android Studio: 4.1 AI-201.8743.12.41.6953283
Xcode: 12.5/12E262 - /usr/bin/xcodebuild
npmPackages:
expo: ^38.0.8 => 38.0.11
react: ^17.0.1 => 17.0.1
react-dom: 16.11.0 => 16.11.0
react-native: ^0.64.0 => 0.64.0
react-native-web: ~0.11.7 => 0.11.7
npmGlobalPackages:
expo-cli: 4.9.1
Expo Workflow: bare

Hi

Make sure you set the “owner” to the organisation name in app.json.

I deleted app.json some times ago after ejecting, it still has its use in bare worflows for EAS ?

I don’t know of any other way to specify the app owner. Just restore app.json from Git and add the owner.

Restoring app.json and setting the owner did it, thanks a lot !

1 Like

This topic was automatically closed 20 days after the last reply. New replies are no longer allowed.