hexo - npm install 安装失败 ,大神给看看怎么回事!

查看:656
本文介绍了hexo - npm install 安装失败 ,大神给看看怎么回事!的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

问 题

$ npm install
npm WARN deprecated swig@1.4.2: This package is no longer maintained
npm WARN optional SKIPPING OPTIONAL DEPENDENCY: fsevents@^1.0.0 (node_moduleschokidarnode_modulesfsevents):
npm WARN notsup SKIPPING OPTIONAL DEPENDENCY: Unsupported platform for fsevents@1.0.17: wanted {"os":"darwin","arch":"any"} (current: {"os":"win32","arch":"x64"})
npm ERR! Windows_NT 6.1.7601
npm ERR! argv "D:\Node\node.exe" "D:\Node\node_modules\npm\bin\npm-cli.js" "install"
npm ERR! node v7.4.0
npm ERR! npm v4.0.5

npm ERR! shasum check failed for C:UsersdellAppDataLocalTempnpm-3568-bffa2b65registry.npmjs.orgyargs-yargs-3.5.4.tgz
npm ERR! Expected: d8aff8f665e94c34bd259bdebd1bfaf0ddd35361
npm ERR! Actual: 46f08eb94d7130ad575d5d58ccb38510ae532d9a
npm ERR! From: https://registry.npmjs.org/ya...
npm ERR!
npm ERR! If you need help, you may report this error at:
npm ERR! https://github.com/npm/npm/is...

npm ERR! Please include the following file with any support request:
npm ERR! F:mydatahexonpm-debug.log

解决方案

我刚刚电脑在安装更新,然后报错了
之后重启了一下
莫名其妙就行了
不知道是不是和更新内容有关
Windows系统。。

这篇关于hexo - npm install 安装失败 ,大神给看看怎么回事!的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆