2015-04-20 67 views
0

我想學習如何使用約曼所以我下面的代碼實驗室教程這裏:http://yeoman.io/codelab.html問題與約曼代碼實驗室:被困在咕嚕,谷歌-CDN

但在第3步,我已經配置了喲角,這一代被困在以下

[email protected] node_modules/grunt-google-cdn 
├── [email protected] ([email protected], [email protected], [email protected], [email protected], [email protected]) 
├── [email protected] ([email protected], [email protected], [email protected], [email protected], [email protected], [email protected], [email protected], [email protected], [email protected], [email protected], [email protected], [email protected], [email protected], [email protected], [email protected], [email protected], [email protected], [email protected], [email protected], [email protected], [email protected], [email protected], [email protected], [email protected], [email protected], [email protected], [email protected], [email protected], [email protected], [email protected], [email protected], [email protected], [email protected], [email protected], [email protected], [email protected], [email protected], [email protected], [email protected], [email protected], [email protected], [email protected], [email protected]) 
└── [email protected] ([email protected], [email protected], [email protected], [email protected], [email protected], [email protected], [email protected]) 
app/index.html modified. 

如果我打回車,它會再次啓動,但我不知道爲什麼它卡住了。如果我讓它完成並嘗試運行咕嚕作爲每個步驟5,我收到以下錯誤信息:

laptop:mytodo sarbogast$ grunt serve 
Running "serve" task 

Running "clean:server" (clean) task 

Running "wiredep:app" (wiredep) task 
Warning: ENOENT, no such file or directory '/Users/sarbogast/dev/mytodo/app/bower.json' Use --force to continue. 

Aborted due to warnings. 


Execution Time (2015-04-20 15:29:31 UTC) 
loading tasks 3ms ▇▇▇▇▇ 2% 
serve   2ms ▇▇▇ 2% 
clean:server  4ms ▇▇▇▇▇▇ 3% 
wiredep:app 119ms ▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇ 92% 
Total 129ms 

laptop:mytodo sarbogast$ 

我完全新的自耕農和節點,所以我在這裏有點失落。

回答

0

該教程使我安裝了角度發生器的0.9.2版本,但是一旦我使用以下命令安裝最新版本(本文編寫時爲0.11.1)並重新生成了我的projet,它一切正常。

npm install --global [email protected]