We are periodically seeing builds fail within our cloud build process with the following error:
docker.io/library/node:14 npm ERR! cb() never called!
npm ERR! This is an error with npm itself. Please report this error at: npm ERR! https://npm.community
Steps from build configuration:
steps:
- name: 'gcr.io/cloud-builders/git'
id: 'fetch'
entrypoint: 'bash'
args:
- '-c'
- |
# convert the shallow clone to regular one
git fetch --unshallow --no-tags
waitFor: ['-']
- name: 'node:14'
id: 'npm-install'
entrypoint: 'bash'
args:
- '-c'
- |
npm ci --unsafe-perm
env:
- 'CYPRESS_INSTALL_BINARY=0'
- 'CYPRESS_CACHE_FOLDER=/cypress_cache'
waitFor: ['fetch']
Any thoughts on things to try or to remediate this issue?
EDIT: All packages are installed from npm.