bitrise-steplib / bitrise-step-run-eas-build

MIT License
0 stars 0 forks source link

npx eas-cli: permission denied #4

Open alex-fournier opened 2 years ago

alex-fournier commented 2 years ago

Troubleshooting

Useful information

Issue description

npx eas-cli is not working, I've got the following error:

sh: 1: eas: Permission denied

Bitrise info

 +------------------------------------------------------------------------------+

| (1) EAS Build & Submit                                                       |
+------------------------------------------------------------------------------+
| id: run-eas-build                                                            |
| version: 0.1.1                                                               |
| collection: https://github.com/bitrise-io/bitrise-steplib.git                |
| toolkit: go                                                                  |
| time: 2022-07-08T07:06:17Z                                                   |
+------------------------------------------------------------------------------+
|                                                                              |
INFO[07:06:17] Start installing (nodejs) with apt-get       
INFO[07:06:17]  * [OK] Step dependency (nodejs) installed, available. 
INFO[07:06:17] Start installing (npm) with apt-get          
INFO[07:06:17]  * [OK] Step dependency (npm) installed, available. 
Input:
- access_token: *****
- platform: android
- work_dir: /bitrise/src
- eas_options: --profile production --auto-submit --clear-cache
[07:06:20] Running EAS build
$ npx "eas-cli" "build" "--platform" "android" "--non-interactive" "--profile" "production" "--auto-submit" "--clear-cache"
sh: 1: eas: Permission denied
Run: running eas build failed: npx "eas-cli" "build" "--platform" "android" "--non-interactive" "--profile" "production" "--auto-submit" "--clear-cache" failed: exit status 127
|                                                                              |
+---+---------------------------------------------------------------+----------+
| x | EAS Build & Submit (exit code: 1)                             | 17.92 sec|
+---+---------------------------------------------------------------+----------+
| Issue tracker: ...thub.com/bitrise-steplib/bitrise-step-run-eas-build/issues |
| Source: https://github.com/bitrise-steplib/bitrise-step-run-eas-build        |
+---+---------------------------------------------------------------+----------+
  

Steps to reproduce

  1. In a script step, just add npx eas-cli -v
ofalvai commented 2 years ago

Hey, thanks for the report! We are aware of a permission issue on the Ubuntu stacks and are working on it. In the meantime, please try running the step on one of our macOS stacks. I just verified that the command works there.