Skip to content
This repository has been archived by the owner on Aug 11, 2022. It is now read-only.

npm cache clean not cleaning anything - version 1.3.11 #4032

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

npm cache clean not cleaning anything - version 1.3.11 #4032

ryanjarvis opened this issue Oct 24, 2013 · 3 comments

Comments

@ryanjarvis
Copy link

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)

@luk-
Copy link
Contributor

luk- commented Oct 24, 2013

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

@ryanjarvis
Copy link
Author

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

@npm-robot
Copy link

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.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

No branches or pull requests

4 participants