Install require `npm cache clean` and do not install
See original GitHub issueI’m updating the package after that my pc has a unexpectedly shutdown and then package do not work…
I’m trying to remove and reinstall package but the atom it’s not able to find and remove package so I’m running apm rebuild
and apm rebuild-module-cache
after that package removing and I can’t installed again.
when i want’s to install whit this command : apm install file-icons
it’s throw this error :
Installing file-icons to /home/abrfa/.atom/packages ✗
npm ERR! tar.unpack error reading /tmp/d-116421-4502-llk3ty/package.tgz
npm ERR! addLocal Could not install /tmp/d-116421-4502-llk3ty/package.tgz
npm ERR! Linux 4.4.0-22-generic
npm ERR! argv "/opt/atom/resources/app/apm/bin/node" "/opt/atom/resources/app/apm/node_modules/npm/bin/npm-cli.js" "--globalconfig" "/home/abrfa/.atom/.apm/.apmrc" "--userconfig" "/home/abrfa/.atom/.apmrc" "install" "/tmp/d-116421-4502-llk3ty/package.tgz" "--target=0.36.8" "--arch=x64"
npm ERR! node v0.10.40
npm ERR! npm v2.13.3
npm ERR! 0-byte tarball
npm ERR! Please run `npm cache clean`
npm ERR!
npm ERR! If you need help, you may report this error at:
npm ERR! <https://github.com/npm/npm/issues>
npm ERR! Please include the following file with any support request:
npm ERR! /tmp/apm-install-dir-116421-4502-19bxn5r/npm-debug.log
after cleaning npm cache with npm cache clean
issues still appear
Issue Analytics
- State:
- Created 7 years ago
- Comments:8 (4 by maintainers)
Top Results From Across the Web
Please run `npm cache clean` - node.js - Stack Overflow
As of npm@5 , the npm cache self-heals from corruption issues and data extracted from the cache is guaranteed to be valid.
Read more >npm-cache
This command is primarily intended to be used internally by npm, but it can provide a way to add data to the local...
Read more >How to clear your cache in npm
When you install npm packages on your computer, npm will first add the packages and dependencies in your local npm cache folder. This...
Read more >Why and how to clear npm cache - Nathan Sebhastian
Learn why you may need to clear your npm cache and how to do it.
Read more >How to Clear the Cache in NPM - Sabe.io
NPM uses a cache to speed up the installation process and to save data that is not needed. Since NPM does not automatically...
Read more >
Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free
Top Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Excellent! Glad to hear it. =) Enjoy!
It’s work greate :
TANX 👍 ❤️