Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

Already on GitHub? Sign in to your account

npm cache clean not cleaning anything - version 1.3.11 #4032

Closed
ryanjarvis opened this Issue Oct 24, 2013 · 3 comments

Comments

Projects
None yet
4 participants

npm version 1.3.11, running on OSX

My cache directory is ~/.npm
There is a file at ~/.npm/-/all/.cache.json

When I run "npm cache clean" the file does not delete which is what I would expect. Anything that relies on cache (such as searching and installing still references this file)

Contributor

luk- commented Oct 24, 2013

What's the output of ls -lRa ~/.npm

total 0
drwxr-xr-x 3 ryan staff 102 Oct 21 11:35 -
drwxr-xr-x 3 ryan staff 102 Oct 21 17:51 .
drwxr-xr-x+ 27 ryan staff 918 Oct 23 21:23 ..

/Users/ryan/.npm/-:
total 0
drwxr-xr-x 3 ryan staff 102 Oct 21 11:35 .
drwxr-xr-x 3 ryan staff 102 Oct 21 17:51 ..
drwxr-xr-x 3 ryan staff 102 Oct 21 11:37 all

/Users/ryan/.npm/-/all:
total 38840
drwxr-xr-x 3 ryan staff 102 Oct 21 11:37 .
drwxr-xr-x 3 ryan staff 102 Oct 21 11:35 ..
-rw-r--r-- 1 ryan staff 19882159 Oct 23 21:20 .cache.json

@othiym23 othiym23 added the bug label Oct 10, 2014

Collaborator

npm-robot commented Jun 19, 2017

We're closing this issue as it has gone thirty days without activity. In our experience if an issue has gone thirty days without any activity then it's unlikely to be addressed. In the case of bug reports, often the underlying issue will be addressed but finding related issues is quite difficult and often incomplete.

If this was a bug report and it is still relevant then we encourage you to open it again as a new issue. If this was a feature request then you should feel free to open it again, or even better open a PR.

For more information about our new issue aging policies and why we've instituted them please see our blog post.

@npm-robot npm-robot closed this Jun 19, 2017

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment