When I upload a project from git I get an error that says Build failed:
Running with gitlab-ci-multi-runner 9.1.0 (0118d89)
on Snapshot Builds (c9648220)
Using Shell executor…
Running on ip-10-2-1-50…
Cloning into ‘/home/gitlab-runner/builds/c9648220/0/project-1’…
Checking out 0ee8ab48 as master…
Skipping Git submodules setup
$ run "fetch-updates"
Checking for build process updates…
$ run "build-app"
Attempting to restore cached packages…
No cache found for packages, installing…
$ npm install --quiet --no-optional
npm WARN @email@example.com requires a peer of @ionic-native/core@^4.2.0 but none was installed.
npm WARN @firstname.lastname@example.org requires a peer of @ionic-native/core@^4.2.0 but none was installed.
npm WARN @email@example.com requires a peer of @ionic-native/core@^4.2.0 but none was installed.
npm WARN firstname.lastname@example.org requires a peer of ajv@>=5.0.0 but none was installed.
added 1 package and removed 3 packages in 4.4s
Saving package cache…
Package cache saved!
$ npm run build
npm info it worked if it ends with ok
npm info using email@example.com
npm info using firstname.lastname@example.org
npm info lifecycle email@example.com~prebuild: firstname.lastname@example.org
npm info lifecycle email@example.com~build: firstname.lastname@example.org
email@example.com build /usr/src/app
sh: 1: ionic-app-scripts: Permission denied
npm info lifecycle firstname.lastname@example.org~build: Failed to exec build script
npm ERR! code ELIFECYCLE
npm ERR! errno 126
npm ERR! email@example.com build:
npm ERR! Exit status 126
npm ERR! Failed at the firstname.lastname@example.org 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! /home/gitlab-runner/.npm/_logs/2017-12-04T18_50_38_795Z-debug.log
npm run build failed
Running after script…
$ run "clean-up"
ERROR: Job failed: exit status 1
Any ideas what I can do to fix this?