Error building app on ionic pro


#1

Hello!

I have this error on Ionic Pro:

 $ run "build-app"
 Running Stage build-app for Job: 5166380
 Parsing ionic.config.json for project settings
 Project Settings:
 	Name: XXXXXX
 	App ID: xxxxxxx
 	Type: ionic-angular
 $ npm install --quiet --no-optional
 events.js:182
       throw er; // Unhandled 'error' event
       ^
 
 Error: sha1-OO0i0bMIJyEJpu9tEjU1YgDKfv4= integrity checksum failed when using sha1: wanted sha1-OO0i0bMIJyEJpu9tEjU1YgDKfv4= but got sha1-14NLg7GGYH4rjxlD4HPAYzNg6kM=. (14583 bytes)
     at Transform.on (/usr/local/lib/node_modules/npm/node_modules/ssri/index.js:275:19)
     at emitNone (events.js:110:20)
     at Transform.emit (events.js:207:7)
     at endReadableNT (_stream_readable.js:1045:12)
     at _combinedTickCallback (internal/process/next_tick.js:138:11)
     at process._tickCallback (internal/process/next_tick.js:180:9)
 events.js:182
       throw er; // Unhandled 'error' event
       ^
 
 Error: sha1-OO0i0bMIJyEJpu9tEjU1YgDKfv4= integrity checksum failed when using sha1: wanted sha1-OO0i0bMIJyEJpu9tEjU1YgDKfv4= but got sha1-14NLg7GGYH4rjxlD4HPAYzNg6kM=. (14583 bytes)
     at Transform.on (/usr/local/lib/node_modules/npm/node_modules/ssri/index.js:275:19)
     at emitNone (events.js:110:20)
     at Transform.emit (events.js:207:7)
     at endReadableNT (_stream_readable.js:1045:12)
     at _combinedTickCallback (internal/process/next_tick.js:138:11)
     at process._tickCallback (internal/process/next_tick.js:180:9)
 npm ERR! cancel after 1 retries!
 
 npm ERR! A complete log of this run can be found in:
 npm ERR!     /home/gitlab-runner/.npm/_logs/2017-12-13T09_03_53_839Z-debug.log
 npm install --quiet --no-optional failed
 Running after script...
 $ run "clean-up"
 Running Stage clean-up for Job: 5166380
 ERROR: Job failed: exit status 1

And my app is on state: "BUILD FAILED"
In local (navigator and emulator) this app works perfectly
How i can solve this?

Here my ionic info:


cli packages: (/usr/local/lib/node_modules)
    @ionic/cli-utils  : 1.19.0
    ionic (Ionic CLI) : 3.19.0

global packages:
    cordova (Cordova CLI) : 7.1.0

local packages:
    @ionic/app-scripts : 3.1.5
    Cordova Platforms  : android 6.4.0 browser 5.0.0
    Ionic Framework    : ionic-angular 3.9.2

System:
    ios-deploy : 1.9.2
    Node       : v8.9.1
    npm        : 5.6.0
    OS         : macOS High Sierra
    Xcode      : Xcode 9.2 Build version 9C40b

Environment Variables:
    ANDROID_HOME : not set

Misc:
    backend : pro

I have ignored “node_modules” folder and here my ionic doctor command:

▶ ionic doctor check
✔ Detecting issues: 16 / 16 complete - done!
[OK] Detected 0 issues. Aww yeah! 💪

thanks!!