我面临一个大问题:Unable to install the phonegap plugins
在我的科尔多瓦项目中。实际上昨天它仍然工作正常。
现在,每当我尝试在我的 cordova 项目中使用 CLI 添加任何 cordova 插件时。我收到以下错误;
D:\Projects\test cordova>cordova plugin add org.apache.cordova.network-information
Fetching plugin "org.apache.cordova.network-information" via plugin registry
npm http GET http://registry.cordova.io/org.apache.cordova.network-information
npm http 502 http://registry.cordova.io/org.apache.cordova.network-information
npm ERR! registry error parsing json
实际问题是什么?我该如何解决这个问题?
请帮我..
解决办法就是等待:
看到这个吗?:
npm http 502 http://registry.cordova.io/org.apache.cordova.network-information
http://en.wikipedia.org/wiki/List_of_HTTP_status_codes#502 http://en.wikipedia.org/wiki/List_of_HTTP_status_codes#502
解析文件时出错?:
npm ERR! registry error parsing json
正是因为有is没有文件或valid要解析的格式化 json 文件。
托管文件的服务器暂时关闭。您可以选择报告问题。
本文内容由网友自发贡献,版权归原作者所有,本站不承担相应法律责任。如您发现有涉嫌抄袭侵权的内容,请联系:hwhale#tublm.com(使用前将#替换为@)