npm ERR! registry error parsing json - While trying to install Cordova for Ionic Framework in Windows 8

后端 未结 12 1231
感情败类
感情败类 2020-12-13 08:31

I was trying to instal Ionic framework in my Windows 8 system and was trying to install Cordova first.

I\'m getting this error while trying to install Cordova, that

12条回答
  •  感动是毒
    2020-12-13 09:17

    npm config set registry "http://registry.npmjs.org"
    

    Solved the issue for me. Note that it wouldn't accecpt a forward slash at the end of the url and it had to be entered exactly as shown above.

提交回复
热议问题