hexo博客时WARN Failed to install dependencies. Please run ‘npm install‘ in “D:\hexo\blog“ folder.
Dependencies
A rewrite of the old legacy software "depends.exe" in C# for Windows devs to troubleshoot dll load dependencies issues.
项目地址:https://gitcode.com/gh_mirrors/de/Dependencies

·
由于不是第一次使用hexo博客所以不有很认证的对待觉得很快就能够安装好,谁知频发出错。特在此记录一下。
错误展示
QiJian@DESKTOP-CLU05DB MINGW64 /d/hexo
$ hexo init blog
INFO Cloning hexo-starter https://github.com/hexojs/hexo-starter.git
INFO Install dependencies
WARN Failed to install dependencies. Please run 'npm install' in "D:\hexo\blog" folder.
通过上面的最后一发现:说安装要我们在此刻的文件夹运行“npm install”
于是就跟着他说的做了一下:
发现了一个大问题,居然说找不到npm命令。检查一遍没有错啊,软件安装了啊,用Windows下DOS命令npm -v ,没有发现什么问题。没办法了只有百度,得知安装完nodejs之后配置windows环境变量只能保证在命令行工具中可以使用npm,如果想在git bash中使用需要再安装一遍。
git clone --recursive git://github.com/isaacs/npm.git
检查一下:npm -v
没有问题,可以继续使用了。




A rewrite of the old legacy software "depends.exe" in C# for Windows devs to troubleshoot dll load dependencies issues.
最近提交(Master分支:17 天前 )
1997a400 - 3 年前
2f423539 - 3 年前
更多推荐
所有评论(0)