2014-09-10 48 views
0

我使用yeoman,grunt &涼亭所有在一起的第一次。node.js - grunt服務器不啓動

在此之後tutorial,我卡住了,我不能在服務器未啓動和被扔我一個錯誤

WANRNING: ENOENT, no such file or directory 'c:\wamp\www\yo\app\bower.json' 

而且我發現該錯誤的解決方案在here,現在我沒有得到錯誤。


但修復該錯誤後,我運行了grunt serve命令。並開始收到此錯誤(較少或極少)

Running "concurrent:server" (concurrent) task 
    Warning: Use --force to continue. 

    Aborted due to warnings. 

或此錯誤(多數發生的歷史錯誤)

Warning: grunt-cli: The grunt command line interface. (v0.1.13) Use --force to continue. 

    Aborted due to warnings. 

如果我跑,當然grunt serve --force它有一個黃色的文本運行的

Warning: Used --force, continuing. 

有人幫我解決這個問題。

在此先感謝。

回答

3

找到解決方案here

問題是未正確安裝依賴項。

,並通過運行

  1. NPM安裝
  2. 涼亭安裝

我能夠沒有任何錯誤運行繁重的服務。