上每當我按我的website中的「開始」按鈕,屏幕變黑,我得到在控制檯日誌中出現以下錯誤。我沒有看到這個問題在當地,之前grunt build
正在運行和我部署到Heroku的:嘗試加載不止一次+包含在谷歌地圖API多次角更
WARNING: Tried to load angular more than once.
You have included the Google Maps API multiple times on this page. This may cause unexpected errors.
我的index.html的代碼如下,全碼here:
<script src="https://maps.googleapis.com/maps/api/js?libraries=places&key=AIzaSyBHuxIv-E8l4YRp_vWjW7X22gRNwI1xN30"></script>
<!-- build:js(.) scripts/vendor.js -->
<!-- bower:js -->
<script src="bower_components/jquery/dist/jquery.js"></script>
<script src="bower_components/angular/angular.js"></script>
<script src="bower_components/bootstrap-sass-official/assets/javascripts/bootstrap.js"></script>
<script src="bower_components/angular-animate/angular-animate.js"></script>
<script src="bower_components/angular-cookies/angular-cookies.js"></script>
<script src="bower_components/angular-resource/angular-resource.js"></script>
<script src="bower_components/angular-route/angular-route.js"></script>
<script src="bower_components/angular-sanitize/angular-sanitize.js"></script>
<script src="bower_components/angular-touch/angular-touch.js"></script>
<script src="bower_components/ngstorage/ngStorage.js"></script>
<script src="bower_components/moment/moment.js"></script>
<script src="bower_components/angular-moment/angular-moment.js"></script>
<script src="bower_components/angular-strap/dist/angular-strap.js"></script>
<script src="bower_components/angular-strap/dist/angular-strap.tpl.js"></script>
<script src="bower_components/angular-modal-service/dst/angular-modal-service.js"></script>
<script src="bower_components/vsGoogleAutocomplete/dist/vs-google-autocomplete.js"></script>
<script src="bower_components/vsGoogleAutocomplete/dist/vs-autocomplete-validator.js"></script>
<!-- endbower -->
<!-- endbuild -->
不知道還有什麼可能導致這個問題?有人可以幫忙嗎?
更新
我包括我的咕嚕任務,以及:https://pastebin.com/3JiaQwXU。
也許,你的呼嚕聲在任務複製'' –
這是我的任務咕嚕:https://pastebin.com/3JiaQwXU – methuselah