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
gulp build 之后 報缺少文件錯誤?
千萬里不及你
2019-02-07 18:42:13