error cb() never called! on Linux/macOS because unhandled rejection EACCESS in npm 6.9.0, reproducable in Travis-CI

What I Wanted to Do

happens on travis-CU when executing

npm install request mocha chai --save

What Happened Instead

Unhandled rejection Error: EACCES: permission denied, mkdir '/home/travis/.npm/_cacache/index-v5/c1/d3'
Unhandled rejection Error: EACCES: permission denied, mkdir '/home/travis/.npm/_cacache/index-v5/b4/f2'
Unhandled rejection Error: EACCES: permission denied, mkdir '/home/travis/.npm/_cacache/index-v5/fb/19'
Unhandled rejection Error: EACCES: permission denied, mkdir '/home/travis/.npm/_cacache/index-v5/fb/71'
Unhandled rejection Error: EACCES: permission denied, mkdir '/home/travis/.npm/_cacache/index-v5/36/d6'
Unhandled rejection Error: EACCES: permission denied, mkdir '/home/travis/.npm/_cacache/index-v5/95/04'
Unhandled rejection Error: EACCES: permission denied, mkdir '/home/travis/.npm/_cacache/index-v5/b2/98'
Unhandled rejection Error: EACCES: permission denied, mkdir '/home/travis/.npm/_cacache/index-v5/40/cb'
Unhandled rejection Error: EACCES: permission denied, mkdir '/home/travis/.npm/_cacache/index-v5/fb/4b'
npm ERR! cb() never called!
npm ERR! This is an error with npm itself. Please report this error at:
npm ERR!     <https://npm.community>

Reproduction Steps

see (Linux) https://travis-ci.org/ioBroker/ioBroker/jobs/527682597#L719
see (macOS) https://travis-ci.org/ioBroker/ioBroker/jobs/527682605#L208

Platform Info

see travis outputs and job definitions

This topic was automatically closed 90 days after the last reply. New replies are no longer allowed.