@GhraApp wrote:
Running with gitlab-ci-multi-runner 9.1.0 (0118d89)
on ip-10-2-245-240 (c9648220)
Using Shell executor…
Running on ip-10-2-245-240…
Cloning repository…
Cloning into ‘/home/gitlab-runner/builds/c9648220/2/project-1’…
Checking out d8898a97 as master…
Skipping Git submodules setup
$ run "fetch-updates"
Running Stage fetch-updates for Job: 5247818
Checking for build process updates…
$ run "build-app"
Running Stage build-app for Job: 5247818
Parsing ionic.config.json for project settings
Project Settings:
Name: ghra-app
App ID: 47c94f48
Type: ionic-angular
Build script detected in package.json…
$ npm install --quiet --no-optionalnode-sass@4.7.2 install /usr/src/app/node_modules/node-sass
node scripts/install.jsDownloading binary from https://github.com/sass/node-sass/releases/download/v4.7.2/linux-x64-57_binding.node
Download complete
Binary saved to /usr/src/app/node_modules/node-sass/vendor/linux-x64-57/binding.node
Caching binary to /home/gitlab-runner/.npm/node-sass/4.7.2/linux-x64-57_binding.nodeuglifyjs-webpack-plugin@0.4.6 postinstall /usr/src/app/node_modules/uglifyjs-webpack-plugin
node lib/post_install.jsnode-sass@4.7.2 postinstall /usr/src/app/node_modules/node-sass
node scripts/build.jsBinary found at /usr/src/app/node_modules/node-sass/vendor/linux-x64-57/binding.node
Testing binary
Binary is fine
npm WARN optional SKIPPING OPTIONAL DEPENDENCY: fsevents@1.1.3 (node_modules/fsevents):
npm WARN notsup SKIPPING OPTIONAL DEPENDENCY: Unsupported platform for fsevents@1.1.3: wanted {“os”:“darwin”,“arch”:“any”} (current: {“os”:“linux”,“arch”:“x64”})added 686 packages in 44.624s
$ npm install --quiet --no-optional success
$ npm run build
npm info it worked if it ends with ok
npm info using npm@5.3.0
npm info using node@v8.2.1
npm info lifecycle ghra-app@0.0.1~prebuild: ghra-app@0.0.1
npm info lifecycle ghra-app@0.0.1~build: ghra-app@0.0.1ghra-app@0.0.1 build /usr/src/app
ionic-app-scripts build[05:36:50] ionic-app-scripts 3.1.8
[05:36:50] build dev started …
[05:36:50] clean started …
[05:36:50] clean finished in 2 ms
[05:36:50] copy started …
[05:36:50] deeplinks started …
[05:36:50] deeplinks finished in 102 ms
[05:36:50] transpile started …
**[05:36:57] typescript: src/app/app.module.ts, line: 16 **
** Cannot find module ‘…/providers/test.provider’. **** L15: import { Pro } from ‘@ionic/pro’;**
** L16: import { TestProvider } from ‘…/providers/test.provider’**
** L17: import { DeviceinfoProvider } from ‘…/providers/deviceinfo’;****[05:36:57] typescript: src/app/app.module.ts, line: 17 **
** Cannot find module ‘…/providers/deviceinfo’. **** L16: import { TestProvider } from ‘…/providers/test.provider’**
** L17: import { DeviceinfoProvider } from ‘…/providers/deviceinfo’;**
** L18: import { ErrorpostProvider } from ‘…/providers/errorpost’;****[05:36:57] typescript: src/app/app.module.ts, line: 18 **
** Cannot find module ‘…/providers/errorpost’. **** L17: import { DeviceinfoProvider } from ‘…/providers/deviceinfo’;**
** L18: import { ErrorpostProvider } from ‘…/providers/errorpost’;**[05:36:57] ionic-app-script task: “build” **
[05:36:57] Error: Failed to transpile program **
Error: Failed to transpile program
** at new BuildError (/usr/src/app/node_modules/@ionic/app-scripts/dist/util/errors.js:16:28)
** at /usr/src/app/node_modules/@ionic/app-scripts/dist/transpile.js:159:20
** at Promise ()**
** at transpileWorker (/usr/src/app/node_modules/@ionic/app-scripts/dist/transpile.js:107:12)**
** at Object.transpile (/usr/src/app/node_modules/@ionic/app-scripts/dist/transpile.js:64:12)**
** at /usr/src/app/node_modules/@ionic/app-scripts/dist/build.js:109:82**
** at **
npm info lifecycle ghra-app@0.0.1~build: Failed to exec build script
npm ERR! code ELIFECYCLE
npm ERR! errno 1
npm ERR! ghra-app@0.0.1 build:ionic-app-scripts build
npm ERR! Exit status 1
**npm ERR! **
npm ERR! Failed at the ghra-app@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! /home/gitlab-runner/.npm/_logs/2018-01-22T05_36_57_752Z-debug.log
npm run build failed
Running after script…
$ run "clean-up"
Running Stage clean-up for Job: 5247818
ERROR: Job failed: exit status 1
Posts: 1
Participants: 1