当我使用
ng build --prod
为我的有角项目制作产品模式时出现此错误
ERROR错误:“ [对象对象]” Ohttp:// localhost:4200 / polyfills.5b024d7013a56a12d0d8.js:1:13735 Ohttp:// localhost:4200 / polyfills.5b024d7013a56a12d0d8.js:1:13293 Dhttp:// localhost:4200 / polyfills.5b024d7013a56a12d0d8.js:1:14523 invokeTaskhttp:// localhost:4200 / polyfills.5b024d7013a56a12d0d8.js:1:8735on InvokeTaskhttp:// localhost:4200 / main.97ca4e99c3abe316b59d.js:1:434287 invokeTaskhttp:// localhost:4200 / polyfills.5b024d7013a56a12d0d8.js:1:8648 runTaskhttp:// localhost:4200 / polyfills.5b024d7013a56a12d0d8.js:1:3911vhttp:// localhost:4200 / polyfills.5b024d7013a56a12d0d8.js:1:10964 main.97ca4e99c3abe316b59d.js:1:422504 $ d http://localhost:4200/main.97ca4e99c3abe316b59d.js:1:422504 CcnG / ephttp:// localhost:4200 / main.97ca4e99c3abe316b59d.js:1:422730接下来 http://localhost:4200/main.97ca4e99c3abe316b59d.js:1:441083 CcnG / rlhttp://:// localhost:4200 / main.97ca4e99c3abe316b59d.js:1:400910 FFOo / dhttp:// localhost:4200 / main.97ca4e99c3abe316b59d.js:1:565116 FFOo / dhttp:// localhost:4200 / main.97ca4e99c3abe316b59d.js:1:564258 FFOo / lhttp:// localhost:4200 / main.97ca4e99c3abe316b59d.js:1:563290 FFOo / lhttp:// localhost:4200 / main.97ca4e99c3abe316b59d.js:1:562973 K9Ia / dhttp:// localhost:4200 / main.97ca4e99c3abe316b59d.js:1:721405 CcnG / rlhttp:// localhost:4200 / main.97ca4e99c3abe316b59d.js:1:400676 onHandleError / < http://localhost:4200/main.97ca4e99c3abe316b59d.js:1:434685 0TWp / http:// localhost:4200 / polyfills.5b024d7013a56a12d0d8.js:1:8060 0TWp / http:// localhost:4200 / polyfills.5b024d7013a56a12d0d8.js:1:3220 CcnG / Qphttp:// localhost:4200 / main.97ca4e99c3abe316b59d.js:1:435394 onHandleError http://localhost:4200/main.97ca4e99c3abe316b59d.js:1:434647 0TWp / http:// localhost:4200 / polyfills.5b024d7013a56a12d0d8.js:1:8140 0TWp / http:// localhost:4200 / polyfills.5b024d7013a56a12d0d8.js:1:3475 t http://localhost:4200/polyfills.5b024d7013a56a12d0d8.js:1:12356 0TWp / http:// localhost:4200 / polyfills.5b024d7013a56a12d0d8.js:1:12421 v http://localhost:4200/polyfills.5b024d7013a56a12d0d8.js:1:11025
如何解决此问题?
答案 0 :(得分:0)
它可能是由于参数计数不匹配(在调用函数和函数声明时)而发生的。或者您正在调用声明为私有的函数。
尽管您的输出不提供信息,但只能猜测。