I’m new at Ionic, I’m trying to deploy a very small app at ionicjs.com but I’m getting the following error after pushing any commit:
Running with gitlab-ci-multi-runner 9.1.0 (0118d89) on IonicJS Runner 2 (7981969b) Using Shell executor... Running on ip-10-2-50-250... Cloning repository... Cloning into '/home/gitlab-runner/builds/7981969b/0/project-1'... Checking out 545bdedc as master... Skipping Git submodules setup $ fetch-updates Checking for build process updates... $ build-app Fetching build dependencies... Running: npm install npm WARN Invalid version: "1.0" npm WARN app No description npm WARN app No repository field. npm WARN app No README data npm WARN app No license field. added 55 packages in 4.188s npm install succeeded Running: 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 ERR! Invalid version: "1.0" npm ERR! A complete log of this run can be found in: npm ERR! /home/gitlab-runner/.npm/_logs/2017-09-27T14_07_27_193Z-debug.log /snapshot.sh: line 32: [: missing `]' npm run build failed Make sure your project has a build script in the package.json Running after script... $ clean-up Cleaning up files... Successful clean up ERROR: Job failed: exit status 1
I see a similar thread at Ionic Pro: Build Failed "missing script: build", but the solution in there is only for V1.
Thanks for any tips!