• 解决npm 的 shasum check failed for错误


    npm安装失败,报错如下时候:

     
     C:Program Files
    odejs>npm update npm
    npm ERR! Windows_NT 10.0.14393
    npm ERR! argv "C:\Program Files\nodejs\node.exe" "C:\Program Files\nodejs\node_modules\npm\bin\npm-cli.js" "update" "npm"
    npm ERR! node v6.2.0
    npm ERR! npm  v2.14.19
    
    npm ERR! shasum check failed for C:UserskuaimaAppDataLocalTempnpm-18136-7181dc7d
    egistry.npmjs.orgnpm-npm-4.0.5.tgz
    npm ERR! Expected: a9c3c00c3c5bd6b0538c71109e019afd9d5b1403
    npm ERR! Actual:   229ee9303b213d8ad584a6d4f65b971874d5b0e9
    npm ERR! From:     https://registry.npmjs.org/npm/-/npm-4.0.5.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!     C:Program Files
    odejsnpm-debug.log



     使用cnpm安装即可

  • 相关阅读:
    下载文件
    Cookie方法
    阿拉伯数字转大写
    格式化日期
    正向代理与反向代理
    get post 区别
    gulp
    什么是javascript中的同步&&异步?
    懒加载
    js操作dom时发生了什么?
  • 原文地址:https://www.cnblogs.com/aer2005/p/11742990.html
Copyright © 2020-2023  润新知