Ionic Pro: build error npm ERR! Invalid tar header


#1

Hi all,
what cause this error from title: npm ERR! Invalid tar header ? It is after pushing changes to ionic master and auto run build.

EDIT: Here is whole log from Ionic dashboard:

Running with gitlab-ci-multi-runner 9.1.0 (0118d89)
  on Prod Snapshot Builds 1 (c9648220)
Using Shell executor...
Running on ip-10-2-165-114...
Cloning repository...
Cloning into '/home/gitlab-runner/builds/c9648220/3/project-1'...
Checking out b0dcf833 as master...
Skipping Git submodules setup
$ fetch-updates
Checking for build process updates...
$ build-app
Fetching build dependencies...
Running: npm install
npm WARN deprecated object-keys@0.2.0: Please update to the latest object-keys
npm WARN ionic-angular@3.7.1 requires a peer of @angular/common@4.4.3 but none was installed.
npm WARN ionic-angular@3.7.1 requires a peer of @angular/compiler@4.4.3 but none was installed.
npm WARN ionic-angular@3.7.1 requires a peer of @angular/compiler-cli@4.4.3 but none was installed.
npm WARN ionic-angular@3.7.1 requires a peer of @angular/core@4.4.3 but none was installed.
npm WARN ionic-angular@3.7.1 requires a peer of @angular/forms@4.4.3 but none was installed.
npm WARN ionic-angular@3.7.1 requires a peer of @angular/http@4.4.3 but none was installed.
npm WARN ionic-angular@3.7.1 requires a peer of @angular/platform-browser@4.4.3 but none was installed.
npm WARN ionic-angular@3.7.1 requires a peer of @angular/platform-browser-dynamic@4.4.3 but none was installed.
npm WARN optional SKIPPING OPTIONAL DEPENDENCY: source-map@0.6.1 (node_modules/autoprefixer/node_modules/source-map):
npm WARN enoent SKIPPING OPTIONAL DEPENDENCY: ENOENT: no such file or directory, utime '/usr/src/app/node_modules/.staging/source-map-350c7929/dist/source-map.debug.js'
npm WARN optional SKIPPING OPTIONAL DEPENDENCY: acorn@4.0.13 (node_modules/acorn-dynamic-import/node_modules/acorn):
npm WARN enoent SKIPPING OPTIONAL DEPENDENCY: ENOENT: no such file or directory, open '/usr/src/app/node_modules/.staging/acorn-a13c02f4/src/tokencontext.js'
npm WARN optional SKIPPING OPTIONAL DEPENDENCY: ajv-keywords@2.1.0 (node_modules/ajv-keywords):
npm WARN enoent SKIPPING OPTIONAL DEPENDENCY: ENOENT: no such file or directory, chmod '/usr/src/app/node_modules/.staging/ajv-keywords-89ba2a9c/keywords/dot/patternRequired.jst'

npm ERR! Invalid tar header. Maybe the tar is corrupted or it needs to be gunzipped?

npm ERR! A complete log of this run can be found in:
npm ERR!     /home/gitlab-runner/.npm/_logs/2017-10-16T11_46_23_223Z-debug.log
npm install failed
Running after script...
$ clean-up
Cleaning up files...
Successful clean up
ERROR: Job failed: exit status 1

#2

Ionic Pro is a hosted and closed source service, so there is not much we, the community, can help you with, sorry. Check these:

You can - and should - contact support at http://ionicframework.com/support#support


#3

Thanks.
I just tried to remove the app from dashboard and from my machine run ionic link again.

Now it works.