git push ionic pushes the code to ionic pro but the build fails with the following error:
Running with gitlab-ci-multi-runner 9.1.0 (0118d89)
on ip-10-2-0-85 (c9648220)
Using Shell executor…
Running on ip-10-2-0-85…
Cloning repository…
Cloning into ‘/home/gitlab-runner/builds/c9648220/0/project-1’…
Checking out 0f7caac9 as LATESTSTAGE…
Updating/initializing submodules recursively…
$ run “fetch-updates”
Running Stage fetch-updates for Job: 5508297
Checking for build process updates…
$ run “build-app”
Running Stage build-app for Job: 5508297
Parsing ionic.config.json for project settings
Project Settings:
Name:
App ID: 21c316de
Type: ionic-angular
Build script detected in package.json…
$ npm install --quiet --no-optional
npm WARN deprecated babili@0.0.10: babili has been renamed to babel-minify. Please update to babel-minify
npm WARN deprecated babel-preset-babili@0.0.10: babili has been renamed to babel-minify. Please update to babel-preset-minify
npm WARN @angular/platform-server@2.4.8 requires a peer of @angular/core@2.4.8 but none was installed.
npm WARN @angular/platform-server@2.4.8 requires a peer of @angular/common@2.4.8 but none was installed.
npm WARN @angular/platform-server@2.4.8 requires a peer of @angular/compiler@2.4.8 but none was installed.
npm WARN @angular/platform-server@2.4.8 requires a peer of @angular/platform-browser@2.4.8 but none was installed.
npm WARN @ionic-native/social-sharing@4.7.0 requires a peer of @ionic-native/core@^4.2.0 but none was installed.
npm WARN @ionic/app-scripts@1.3.7 requires a peer of @angular/tsc-wrapped@* but none was installed.
npm WARN @ionic-native/app-availability@4.7.0 requires a peer of @ionic-native/core@^4.2.0 but none was installed.
npm WARN @ionic-native/file-transfer@4.7.0 requires a peer of @ionic-native/core@^4.2.0 but none was installed.
npm WARN @ionic-native/in-app-browser@4.7.0 requires a peer of @ionic-native/core@^4.2.0 but none was installed.
npm WARN @ionic-native/instagram@4.7.0 requires a peer of @ionic-native/core@^4.2.0 but none was installed.
npm WARN @ionic-native/native-storage@4.7.0 requires a peer of @ionic-native/core@^4.2.0 but none was installed.
npm WARN @ionic-native/screen-orientation@4.7.0 requires a peer of @ionic-native/core@^4.2.0 but none was installed.
npm ERR! path /usr/src/app/node_modules/grpc/node_modules/cryptiles/node_modules/boom
npm ERR! code ENOENT
npm ERR! errno -2
npm ERR! syscall rename
npm ERR! enoent ENOENT: no such file or directory, rename ‘/usr/src/app/node_modules/grpc/node_modules/cryptiles/node_modules/boom’ -> ‘/usr/src/app/node_modules/grpc/node_modules/cryptiles/node_modules/.boom.DELETE’
npm ERR! enoent This is related to npm not being able to find a file.
npm ERR! enoent
npm ERR! A complete log of this run can be found in:
npm ERR! /home/gitlab-runner/.npm/_logs/2018-04-25T23_17_13_363Z-debug.log
npm install --quiet --no-optional failed
Running after script…
$ run “clean-up”
Running Stage clean-up for Job: 5508297
ERROR: Job failed: exit status 1
I have already tried remove node_modules and re-run npm install. The issue still persists.
I also installed grpc node modules and cryptiles node module and reran the build, but same error.
Both grpc and cryptiles appear in package.json.
I would really appreciate your insights on this.
Thanks