meanjs在localhost中正常运行但在实时服务器中运行不正常

时间:2017-10-30 13:53:51

标签: angularjs meanjs

我在我的网络应用程序中使用MeanJS [meanjs0.4.2]脚手架。我的应用程序在localhost中运行时没有任何错误,而在实时站点中,我得到以下显示的错误并呈现空页面。我无法弄清楚错误在哪里?

错误 - Uncaught Error: [$injector:modulerr] at angular.js:38 at Object.zc [as bootstrap] (angular.js:1646)

我的Config.js文件,其中包含我的所有依赖注入

var applicationModuleVendorDependencies = ['ngResource', 'ngAnimate', 'ngMessages', 'ui.router', 'ui.bootstrap', 'ui.utils', 'ngFileUpload', 'angularFileUpload', 'ngMaterial', 'md-steppers', 'ngImgCrop', '720kb.datepicker','ui.select','material.svgAssetsCache'];

也是我的bower.json文件

"dependencies": {
    "bootstrap": "^3.3.7",
    "angular": "1.4.0",
    "angular-resource": "~1.3",
    "angular-animate": "1.4.0",
    "angular-mocks": "~1.3",
    "angular-bootstrap": "^2.5.0",
    "angular-ui-utils": "bower",
    "angular-ui-router": "1.0.5",
    "angular-file-upload": "1.1.5",
    "angular-messages": "1.4.0",
    "owasp-password-strength-test": "~1.3.0",
    "angular-material": "0.9.7",
    "angular-aria": "1.4.0",
    "ng-img-crop": "ngImgCrop#^0.3.2",
    "md-steppers": "^0.3.4",
    "angularjs-datepicker": "^2.1.23",
    "ng-file-upload": "^12.2.13",
    "svg-assets-cache.js": "svg-assets-cache#*"
  },
  "resolutions": {
    "angular": "1.4.0",
    "angular-bootstrap": "~0.13",
    "bootstrap": "3.3.4"
  }
}

0 个答案:

没有答案