Ionic cloud build fails - npm ERR! 404 Not Found: ansi-styles

it built just fine previously, the same code now fails to build in Ionic cloud.

this is not available in NPM anymore.

any suggestions how I can fix this please?

Build script detected in package.json…
$ npm install --quiet --no-optional
npm WARN The package @ionic/app-scripts is included as both a dev and production dependency.
npm WARN optional SKIPPING OPTIONAL DEPENDENCY: fsevents@1.1.3 (node_modules/fsevents):
npm WARN enoent SKIPPING OPTIONAL DEPENDENCY: ENOENT: no such file or directory, rename ‘/usr/src/app/node_modules/.staging/fsevents-741bcc4f/node_modules/tweetnacl’ -> ‘/usr/src/app/node_modules/.staging/tweetnacl-d4a6def7’

npm ERR! code E404
npm ERR! 404 Not Found: ansi-styles@

npm ERR! A complete log of this run can be found in:
npm ERR! /home/gitlab-runner/.npm/_logs/2018-02-02T09_06_18_918Z-debug.log
npm install --quiet --no-optional failed
Running after script…
$ run "clean-up"
Running Stage clean-up for Job: 5277433
ERROR: Job failed: exit status 1

corodova-browser dependency needed the 2.2.0. I’ve removed cordova-broswer and reinstalled it. It now builds properlu