安装离子型NPM ERR! tar.unpack错误 [英] installing ionic npm ERR! tar.unpack error
本文介绍了安装离子型NPM ERR! tar.unpack错误的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!
问题描述
在安装离子型NPM安装-g离子得到错误。
while installing ionic npm install -g ionic getting error.
曾尝试: -
- 在故宫缓存清理2.运行CLI由管理员3.重新启动系统,但误差保持不变。
放养的不好。
推荐答案
我是在Windows 8有同样的问题(64位)
I was having same problem on Windows 8 (64 bit)
解决方法:
不要忘记安装离子<一个之前安装其他依赖href="http://ionicframework.com/docs/guide/installation.html">http://ionicframework.com/docs/guide/installation.html
1)卸载节点从控制面板
1) Uninstall Node from Control Panel
2)重新启动计算机
3) http://nodejs.org/dist/v0.10.38/下载(MSI安装程序)节点的旧版本位或64位 http://nodejs.org/dist/v0.10.38/x64/
4)安装节点版本0.10.38
4) Install Node version 0.10.38
5)NPM安装-g科尔多瓦
5) npm install -g cordova
6)NPM安装-g离子
6) npm install -g ionic
完成!
这篇关于安装离子型NPM ERR! tar.unpack错误的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!
查看全文