我正在为产品构建运行以下命令
ng serve --prod --env=qa
运行此命令后,我没有收到任何错误,但是一旦我localhost:4200/
在浏览器中运行,我会收到以下错误
Uncaught Error: No provider for function (){}!
at b (core.es5.js:1169)
at core.es5.js:1207
at e._throwOrNull (core.es5.js:2649)
at e._getByKeyDefault (core.es5.js:2688)
at e._getByKey (core.es5.js:2620)
at e.get (core.es5.js:2489)
at dt (core.es5.js:9492)
at core.es5.js:9529
at pt (core.es5.js:9503)
at core.es5.js:9456
任何帮助,将不胜感激