[英]tar.unpack error installing a script package on Atom
I am trying to install script package on Atom but it gives the following error: 我正在尝试在Atom上安装脚本包,但它给出以下错误:
npm ERR! tar.unpack error reading /tmp/d-116420-6290-1xjcgjb/package.tgz
npm ERR! addLocal Could not install /tmp/d-116420-6290-1xjcgjb/package.tgz
npm ERR! Linux 4.4.0-22-generic
npm ERR! argv "/usr/share/atom/resources/app/apm/bin/node" "/usr/share/atom/resources/app/apm/node_modules/npm/bin/npm-cli.js" "--globalconfig" "/home/nobodyu/.atom/.apm/.apmrc" "--userconfig" "/home/nobodyu/.atom/.apmrc" "install" "/tmp/d-116420-6290-1xjcgjb/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-116420-6290-1gbk138/npm-debug.log
I've also run 我也跑了
npm cache clean
And 和
sudo npm install -g npm@latest
But it is still giving me the same error 但这仍然给我同样的错误
How can I successfully install this package? 如何成功安装此软件包?
https://github.com/atom/atom/issues/11798在此处检查是否正在寻找解决方案。
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.