gulp build 之后 报缺少文件错误?

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


千万里不及你
浏览 490回答 1
1回答
打开App,查看更多内容
随时随地看视频慕课网APP

相关分类

JavaScript