eas-cli
eas-cli copied to clipboard
AssertionError: You must have access to the account to run this command
Build/Submit details page URL
No response
Summary
I'm facing an error that I can't see why I'm getting. I made sure I was logged into the eas by doing eas login and after doing eas whoami I get that I'm logged in but when I do eas build -p android --profile previewAndroid It says I must have access to the account.
{
"cli": {
"version": ">= 1.2.0"
},
"build": {
"development": {
"developmentClient": true,
"distribution": "internal"
},
"preview": {
"distribution": "internal"
},
"previewAndroid": {
"android": {
"buildType": "apk"
}
},
"production": {}
},
"submit": {
"production": {}
}
}
Managed or bare?
Managed
Environment
expo-env-info 1.0.5 environment info:
System:
OS: Windows 10 10.0.19044
Binaries:
Node: 14.16.1 - C:\Program Files\nodejs\node.EXE
npm: 6.14.12 - C:\Program Files\nodejs\npm.CMD
npmPackages:
expo: ~46.0.9 => 46.0.9
react: 18.0.0 => 18.0.0
react-dom: 18.0.0 => 18.0.0
react-native: 0.69.4 => 0.69.4
react-native-web: ~0.18.7 => 0.18.7
react-navigation: ^4.4.4 => 4.4.4
Expo Workflow: managed
=======================================================
Some dependencies are incompatible with the installed expo package version:
- react-native - expected version: 0.69.5 - actual version installed: 0.69.4
- react-native-screens - expected version: ~3.15.0 - actual version installed: 3.16.0 Your project may not work correctly until you install the correct versions of the packages. To install the correct versions of these packages, please run: expo install [package-name ...]
Error output
No response
Reproducible demo or steps to reproduce from a blank project
- After project is done Run the following commands
- eas login then proceed into login in
- eas build:configure
- eas build --platform android
This is when the error occurs
- What's the error you're getting?
- Do you have
ownerset in app.json? - Do you have access to the owner organization/account specified by 2.?
- The error is the following : AssertionError: You must have access to the bertdelaspeed account to run this command Code: ERR_ASSERTION
- no, I don't have owner in app.json. How should I use it and where exactly to place it ?
- Yes I'm logged in the expo website with that account, it's mine
Are you sure you don't have a typo in your account name? :) Have you recently renamed your account?
I don't think so, because I checked whether I was actually logged in with the command eas whoami and it displays bertdelaspeed and prior to that I run the command eas login to start the process of creating the build
For anyone who would face this issue here's the fix.
- Go to EAS and Log into your account
- On the left section click on
All project - Create a
new projectfor your app - Link the project to your expo app
npm install --global eas-cli
eas init --id f6f6d1d5-0296-46b5-8734-62f348a6aee2
For anyone who would face this issue here's the fix.
- Go to EAS and Log into your account
- On the left section click on
All project- Create a
new projectfor your app- Link the project to your expo app
npm install --global eas-cli eas init --id f6f6d1d5-0296-46b5-8734-62f348a6aee2
my problem was solve