2017-08-22 91 views
0

我想在我的Laravel 5.3项目中安装Gulp我已经按照从Laravel网站安装的步骤操作。在Laravel 5.3中安装Gulp时出错5.3

我已经安装了最新的节点(节点V8 +)

我已经对我的终端npm install --global gulp-cli上运行此。

在运行此npm install --no-bin-links它给了我这个错误:

C:\xampp\htdocs\Laravel 5.3 Original\blog>npm install --no-bin-links 
npm WARN deprecated [email protected]: Please update to minimatch 3.0.2 or higher to avoid a RegExp DoS issue 
npm WARN deprecated [email protected]: Please update to minimatch 3.0.2 or higher to avoid a RegExp DoS issue 
npm WARN deprecated [email protected]: graceful-fs v3.0.0 and before will fail on node releases >= v7.0. Please update to [email protected]^4.0.0 as soon as possible. Use 'npm ls graceful-fs' to find it in the tree. 
npm ERR! code ENOGIT 
npm ERR! No git binary found in $PATH 
npm ERR! 
npm ERR! Failed using git. 
npm ERR! Please check if you have git installed and in your PATH. 

npm ERR! A complete log of this run can be found in: 
npm ERR!  C:\Users\user\AppData\Roaming\npm-cache\_logs\2017-08-22T16_52_44_999Z-debug.log 

我能做些什么来解决这个问题?

+0

看起来像一个混帐问题。 在$ PATH npm ERR中找不到git二进制文件! npm ERR!使用git失败。 npm ERR!请检查您是否安装了git并且在PATH中。 – Nandakumar

+0

我可以在哪里检查它?或者如果我没有,我怎么安装它? –

+0

@JackDelson:你的编辑不应该被批准。列表的增加并不是真的必要,修正案错过了所有应该修正的事情:案例错误,未格式化的日志,缺少内联格式。请先解决这些问题,因为它们对可读性有最大的影响。如果您认为列表真的值得添加,请在任何紧随其后的代码中使用双缩进(八个空格),以便它仍然是块格式。 – halfer

回答