npm Community Forum (Archive)

The npm community forum has been discontinued.

To discuss usage of npm, visit the GitHub Support Community.

Using npm ci, npm cache can not be found
I followed the instructions on this page to try to use ‘proper’ npm functions in my CI setup, but the .npm cache is nowhere to be found.

First attempt:

Which results in…

WARNING: /root/.npm: no matching files

I tried being more explicit about the cache location:

But nothing changed.

What’s going on here?