我試圖與自耕農安裝角度的應用程序,以下這個步驟:http://yeoman.io/ 一切工作正常,直到我做沒有與涼亭發生安裝
grunt test
我
Chrome 24.0.1312 (Linux) ERROR
Uncaught ReferenceError: angular is not defined
at /var/www/moviz-test/app/scripts/app.js:3
Chrome 24.0.1312 (Linux) ERROR
Uncaught ReferenceError: angular is not defined
at /var/www/moviz-test/app/scripts/controllers/main.js:3
這是因爲bower install
什麼也沒做,我沒有文件夾app/bower_components
.bowerrc
{
"directory": "app/bower_components"
}
bower.json
{
"name": "myApp",
"version": "0.0.0",
"dependencies": {
"angular": "~1.0.7",
"json3": "~3.2.4",
"jquery": "~1.9.1",
"bootstrap-sass": "~2.3.1",
"es5-shim": "~2.0.8",
"angular-resource": "~1.0.7",
"angular-cookies": "~1.0.7",
"angular-sanitize": "~1.0.7"
},
"devDependencies": {
"angular-mocks": "~1.0.7",
"angular-scenario": "~1.0.7"
}
}
我已經卸載並重新安裝鮑爾並沒有什麼變化
bower -v 1.2.3
node -v v0.10.17
'bower'是否提供任何輸出? – passy
什麼也沒有,但我重新啓動,現在沒關係;奇怪 – Tib