question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Install require `npm cache clean` and do not install

See original GitHub issue

I’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:closed
  • Created 7 years ago
  • Comments:8 (4 by maintainers)

github_iconTop GitHub Comments

1reaction
Alhadiscommented, May 21, 2016

Excellent! Glad to hear it. =) Enjoy!

1reaction
hemedanicommented, May 21, 2016

It’s work greate :

Installing file-icons to /home/abrfa/.atom/packages ✓

TANX 👍 ❤️

Read more comments on GitHub >

github_iconTop 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 >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found