2017-08-22 89 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

回答