這是我的第一個AngularJS應用程序,所以我是一個nooby,並不斷嘗試弄清楚事情。但我在我的鉻控制檯收到一個錯誤:角JS錯誤 - timepicker.js注入器:模塊器
Uncaught Error: [$injector:modulerr]
http://errors.angularjs.org/1.5.8/$injector/modulerr?p0=klikdaily-merchant
&…2F%2F127.0.0.1%3A8080%2Fnode_modules%2Fangular%2Fangular.min.js%3A439%3A21)
(anonymous function) @ angular.js:1829
(anonymous function) @ angular.js:31768
q @ angular.js:4681
g @ angular.js:31768
cb @ angular.js:31768
c @ angular.js:31768B
c @ angular.js:31768f
e @ angular.js:31768
(anonymous function) @ angular.js:31768
b @ angular.js:31768
Sf @ angular.js:31768
d @ angular.js:31768
一切都很好後,我插入模塊「angular.circular.timepicker.js」和錯誤來了。
有什麼想法?由於
前我的模塊列表
angular.module('klikdaily-merchant',['ngMaterial','angular.circular.timepicker'
,'ngMessages', 'ngAnimate', 'vAccordion' , 'material.svgAssetsCache','ngRoute',
'jkAngularCarousel','ngCookies','ngMdIcons'])
我的腳本列表
<script src="./node_modules/angular/angular.min.js"></script>
<script src="./node_modules/angular-animate/angular-animate.min.js"></script>
<script src="./node_modules/angular-aria/angular-aria.min.js"></script>
<script src="./node_modules/angular-material/angular-material.min.js"></script>
<script src="./node_modules/angular-route/angular-route.min.js"></script>
<script src="./node_modules/angular-messages/angular-messages.min.js"></script>
<script src="./node_modules/angular-cookies/angular-cookies.min.js"></script>
<script src="./node_modules/angular-material-icons/angular-material-icons.min.js"></script>
<script src="./node_modules/angular-lib/svg-assets-cache.js"></script>
<script src="./node_modules/angular-lib/v-accordion.js"></script>
<script src="./node_modules/angular-circular-timepicker/moment/moment.js"></script>
<script src="./node_modules/angular-circular-timepicker/dist/javascript/angular.circular.timepicker.js"></script>
<script src="app/app.js"></script>
<script src="app/jk-carousel.min.js"></script>
<script src="https://cdn.smooch.io/smooch.min.js"></script>
我挑timepicker.js從
http://angularscript.com/angularjs-circular-date-time-picker/
你能不'...'截斷實際的錯誤頁面的網址?如果你點擊它,它應該帶你到實際頁面 – Phil
沒關係。循環時間選擇器模塊名稱是'angular.circular.timepicker',而不是'angular.circular.timepicker.js' – Phil
@Phil,謝謝你回答我的問題。我已經這樣做,並重新啓動我的服務器,但錯誤仍然相同。另一個建議也許? –