-
Notifications
You must be signed in to change notification settings - Fork 30.1k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Required json file is not removed from cache, even after a re-install #3326
Labels
question
Issues that look for answers.
Comments
This is the expected behavior, NOT a bug, if the json file was required at least once before the file was modified in the file system it will use the memcached version next times. In your workaround you are just updating the cache, another solution would be to request the file directly with the
|
This was referenced Feb 20, 2022
This was referenced Sep 29, 2022
This was referenced Oct 5, 2022
This was referenced Oct 8, 2022
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
We have this piece of code in our CLI tool:
A customer experienced an issue where he re-installed a new version of our software via npm, and when he ran it, he saw that he was getting the package version from the older installation.
I can verify from his terminal log that the newer package was installed.
If it makes any difference, it is a globally installed tool.
I can have a workaround by manually deleting it from the cache.
Is this a bug, or an expected behavior?
This was experienced in Node v4.1.2.
I don't know if it affects other versions.
The text was updated successfully, but these errors were encountered: