简体   繁体   中英

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?

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?

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM