zoukankan      html  css  js  c++  java
  • npm ERR! shasum check failed for

    nmp install 爆了一片错

    npm WARN optional SKIPPING OPTIONAL DEPENDENCY: ios-deploy@1.9.4 (node_modulesweexplus
    ode_modulesios-deploy):
    npm WARN notsup SKIPPING OPTIONAL DEPENDENCY: Unsupported platform for ios-deploy@1.9.4: wanted {"os":"darwin","arch":"any"} (current: {"os":"win32","arch":"x64"})
    npm ERR! Windows_NT 10.0.17134
    npm ERR! argv "D:\develop\nodejs\node.exe" "D:\develop\nodejs\node_modules\npm\bin\npm-cli.js" "install" "weexplus" "-g"
    npm ERR! node v11.10.0
    npm ERR! npm  v3.10.10
    
    npm ERR! shasum check failed for C:UsersLenovoAppDataLocalTemp
    pm-18604-8bd97bd6
    egistry.npmjs.org
    pm-
    pm-5.10.0.tgz
    npm ERR! Expected: 3bec62312c94a9b0f48f208e00b98bf0304b40db
    npm ERR! Actual:   f9126ba0df38eae5b63fa34d5f7c68006c08dcae
    npm ERR! From:     https://registry.npmjs.org/npm/-/npm-5.10.0.tgz
    npm ERR!
    npm ERR! If you need help, you may report this error at:
    npm ERR!     <https://github.com/npm/npm/issues>
    
    npm ERR! Please include the following file with any support request:
    npm ERR!     D:YLKJPro
    pm-debug.log
    

    其实就是网络的问题,害我折腾半天, 使用手机开个wifi 热点,连上然后再执行 就搞定了

    还有下载失败后,当再次执行下载会提示

    npm ERR! tar.unpack unzip error C:UsersLenovoAppDataLocalTemp
    pm-15664-5f9d310e
    egistry.npmjs.orgfsevents-fsevents-1.1.3.tgz
    npm ERR! tar.unpack untar error C:UsersLenovoAppDataLocalTemp
    pm-15664-5f9d310e
    egistry.npmjs.orgfsevents-fsevents-1.1.3.tgz
    

    运行如下命令解决

    npm cache clean
    
  • 相关阅读:
    Mysql索引类型
    Linux 查看进程
    Element is not clickable at point error in chrome
    org.apache.commons.lang.StringUtils 中 Join 函数
    接口测试之webservice介绍
    Java 中正确使用 hashCode 和 equals 方法
    HTTP协议基础
    使用Groovy处理SoapUI中Json response
    SoapUI中读取法文字符
    SoapUI中XML解析
  • 原文地址:https://www.cnblogs.com/dengxiaoning/p/11681280.html
Copyright © 2011-2022 走看看