Сбой сборки Ionic Appflow с «Отказано в доступе» - PullRequest
0 голосов
/ 25 апреля 2019

Я пытаюсь построить свой проект на Ionic Appflow, но он продолжает терпеть неудачу со следующим. Я не понимаю, что может быть не так, как я могу локально генерировать и строить локально.

Кто-нибудь еще сталкивался с такими проблемами?

sh: 1: ng: Permission denied
npm ERR! code ELIFECYCLE
npm ERR! errno 126
npm ERR! aardraapp@0.0.1 build: `ng build`
npm ERR! Exit status 126
npm ERR!
npm ERR! Failed at the aardraapp@0.0.1 build script.
npm ERR! This is probably not a problem with npm. There is likely additional logging output above.
npm ERR! A complete log of this run can be found in:
npm ERR! /root/.npm/_logs/2019-04-24T20_45_42_679Z-debug.log
+------+---------------------+-------------+
| fastlane summary |
+------+---------------------+-------------+
| Step | Action | Time (in s) |
+------+---------------------+-------------+
| 1 | default_platform | 0 |
| 2 | build_summary | 2 |
| 3 | add_git_credentials | 0 |
| 4 | modify_config_xml | 0 |
| ? | build_pro_app | 17 |
+------+---------------------+-------------+
[20:45:42]: fastlane finished with errors
/usr/local/bin/fastlane: [!] Exit status of command 'npm run build' was 126 instead of 0.
(FastlaneCore::Interface::FastlaneShellError)
> aardraapp@0.0.1 build /builds/aardrasystems/app
> ng build
sh: 1: ng: Permission denied
npm ERR! code ELIFECYCLE
npm ERR! errno 126
npm ERR! aardraapp@0.0.1 build: `ng build`
npm ERR! Exit status 126
npm ERR!
npm ERR! Failed at the aardraapp@0.0.1 build script.
npm ERR! This is probably not a problem with npm. There is likely additional logging output above.
npm ERR! A complete log of this run can be found in:
npm ERR! /root/.npm/_logs/2019-04-24T20_45_42_679Z-debug.log
Running after script...
$ run "clean-up"
ERROR: Job failed: command terminated with exit code 1
...