TypeError:无法读取未定义角度7的属性“ hasOwnProperty”

时间:2019-02-10 07:42:39

标签: node.js angular build ssr

我已经使用命令ng build --prod完成了项目构建。它生成成功,但是此构建无法在实时服务器上运行,它给出以下错误:-

main.0769518151819531d924.js:1错误错误:未捕获(承诺中):TypeError:无法读取未定义的属性“ hasOwnProperty” TypeError:无法读取未定义的属性“ hasOwnProperty”     在v(main.07695181518195195dd.js:1)     在Mf(main.0769518151819531d924.js:1)     在t.get(main.07695181518195195dd.js:1)     在kt(main.0769518151819531d924.js:1)     在Pt(main.0769518151819531d924.js:1)     在Et(main.0769518151819531d924.js:1)     在main.0769518151819531d924.js:1     在main.0769518151819531d924.js:1     在Df(main.0769518151819531d924.js:1)     在Mf(main.0769518151819531d924.js:1)     在P(polyfills.7d30aceca8fe7a5b6974.js:1)     在P(polyfills.7d30aceca8fe7a5b6974.js:1)     在polyfills.7d30aceca8fe7a5b6974.js:1     在e.invokeTask(polyfills.7d30aceca8fe7a5b6974.js:1)     在Object.onInvokeTask上(main.0769518151819519531d924.js:1)     在e.invokeTask(polyfills.7d30aceca8fe7a5b6974.js:1)     在t.runTask上(polyfills.7d30aceca8fe7a5b6974.js:1)     在g处(polyfills.7d30aceca8fe7a5b6974.js:1)     在t.invokeTask上[调用时](polyfills.7d30aceca8fe7a5b6974.js:1)     在m(polyfills.7d30aceca8fe7a5b6974.js:1)

enter image description here

0 个答案:

没有答案