无法使用npm安装Cordova [英] Unable to install Cordova with npm

查看:144
本文介绍了无法使用npm安装Cordova的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

使用Nodejs安装Cordova时出现此错误:

  npm WARN installMany normalize-package-data与npm @ 1.3.4,但是在解压缩的树中找不到bund 
led包。

错误在命令npm install -g cordova后出现


$ b

解决方案

我解决了这个问题,所以我在这里介绍我做了什么解决它为任何人谁可能有同样的问题:
我想到重新安装Nodejs。所以我删除它,并安装它,但没有什么工作,然后我在另一台计算机(它工作正常)的Nodejs的安装目录,并将其复制到我的计算机,并引用它在路径环境变量和一切工作正常!!


Installing Cordova with Nodejs, i got this error :

npm WARN installMany normalize-package-data was bundled with npm@1.3.4, but bund
led package wasn't found in unpacked tree.

The error comes after the command npm install -g cordova

What can be the solution please ?

Thnx

解决方案

I have solved this issue, so i present here what i did to solve it for anyone who may have the same problem : I thought about reinstalling Nodejs. So i removed it and installed it again but nothing worked, then i took an installation directory of Nodejs in another computer (which works fine) and copied it to my computer and referenced it in the path environnement variable and every thing worked fine !!

这篇关于无法使用npm安装Cordova的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆