[英]Error blank page with gulp dist:serve
vendor-bed50f88.js:31 Uncaught Error:
[$injector:modulerr] Failed to instantiate module angularMaterialAdmin due to:
Error: [$injector:nomod] Module 'angularMaterialAdmin' is not available!
You either misspelled the module name or forgot to load it.
If registering a module ensure that you specify the dependencies as the second argument.
http://errors.angularjs.org/1.6.4/$injector/nomod?p0=angularMaterialAdmin
http://errors.angularjs.org/1.6.4/$injector/modulerr?
Did you include "angularMaterialAdmin" within the module that is attempting to use it? 您是否在尝试使用模块的模块中包含“ angularMaterialAdmin”?
Such as... 如...
angular.module('myMainModule', ['angularMaterialAdmin']);
If this module is in a separate file, is the reference to this file included in your main html page via a script element? 如果此模块在单独的文件中,则是否通过脚本元素将此文件的引用包含在您的html主页面中?
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.