Unable to install plugins in cordova project

青春壹個敷衍的年華 提交于 2019-12-04 12:44:54

The solution is wait:

see this?:

npm http 502 http://registry.cordova.io/org.apache.cordova.network-information

http://en.wikipedia.org/wiki/List_of_HTTP_status_codes#502

Error parsing file?:

npm ERR! registry error parsing json

It is because there is no file or valid formatted json files to parse.

The server hosting the files is temporarily down. You could choose to report the problem.

I'm also having the same issue. But when i tried the github version of the plugin, it still works. Why not try using this:

cordova plugin add https://github.com/apache/cordova-plugin-network-information.git

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!