@config-plugins/detox pre-install-hook failure: Permission denied
SlideeScherz opened this issue · comments
Scott Scherzer commented
Summary
ENV INFO:
OS: Win10
VSCODE
vscode bash integrated terminal, gitbash as admin
Following the setup from https://docs.expo.dev/build-reference/e2e-tests/ after running:
eas build --platform all --profile test
results in:
✖ Build failed
🤖 Android build failed:
Unknown error. See logs for more information.
Upon checking EAS dashboard, logs for this build say:
Script 'eas-build-pre-install' is present in package.json, running it...
> dura-net@1.0.0 eas-build-pre-install
> ./eas-hooks/eas-build-pre-install.sh
[stderr]
sh: 1: ./eas-hooks/eas-build-pre-install.sh: Permission denied
npm run eas-build-pre-install exited with non-zero code: 126
Additionally, ran the command in the Integrated terminal as well as GitBash as Admin to no avail:
chmod +x eas-hooks/*.sh
Config Plugin
@config-plugins/detox
What platform(s) does this occur on?
Android, iOS
SDK Version
49
Reproducible demo
https://github.com/SlideeScherz/expo-issue-demos/tree/main/eas-tests-example
Scott Scherzer commented
Update: My file permissions:
Scott@scott-thinkpad-t15 MINGW64 ~/Documents/GitHub/<repo-name> (dev)
$ cd eas-hooks
Scott@scott-thinkpad-t15 MINGW64 ~/Documents/GitHub/<repo-name>/eas-hooks (dev)
$ ls -la
total 16
drwxr-xr-x 1 Scott 197609 0 Sep 1 00:31 ./
drwxr-xr-x 1 Scott 197609 0 Sep 6 16:41 ../
-rwxr-xr-x 1 Scott 197609 1101 Sep 1 00:31 eas-build-on-success.sh*
-rwxr-xr-x 1 Scott 197609 1152 Sep 1 00:31 eas-build-pre-install.sh*