gulp serve运行正常,没有任何问题。当gulp build 之后提示缺少lbServices文件,这个是loopback生成的.js文件,引用什么的都没问题报错代码如下:Uncaught Error: [$injector:modulerr] Failed to instantiate module BlurAdmin due to:Error: [$injector:modulerr] Failed to instantiate module lbServices due to:Error: [$injector:nomod] Module 'lbServices' 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.5.3/$injector/nomod?p0=lbServices at file:///home/sunchao/Express/api-gateway-client/release/scripts/vendor-9fbe8fa8ad.js:14484:12 at file:///home/sunchao/Express/api-gateway-gulp版本3.9.1 angular版本1.5.3
添加回答
举报
0/150
提交
取消