npm i install dependency package prompts string parsing exception (Unexpected end of JSON input)

  1. Please ensure that the network is good. I have tossed for a long time due to network reasons. The resource library can be set to https://registry.npm.taobao.org/
  2. The setting and viewing commands are as follows:
    npm config set registry=" https://registry.npm.taobao.org/ "
    npm config list
  3. Execute: npm cache clean --force
  4. Execute the install command from here: npm i

npm i install dependency package prompts string parsing exception (Unexpected end of JSON input)

Guess you like

Origin http://43.154.161.224:23101/article/api/json?id=324929208&siteId=291194637