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

后端 未结 12 1238
感情败类
感情败类 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:16

    I had the same issue and the following fixed my issue:

    1. Set the registry: npm config set registry "http://registry.npmjs.org/"
    2. Removed the entry in hosts file (using Windows 7) => C:\Windows\System32\drivers\etc\hosts

提交回复
热议问题