新手问题:我在AppInsights中收到来自生产中的Ionic Web应用程序的以下错误消息
Uncaught (in promise): TypeError: Cannot read properties of null (reading 'length')
TypeError: Cannot read properties of null (reading 'length')
at new u (https://ps.myapp.app/2806.694179fdbc052681.js:1:4851)
at dt.component.u.ɵfac [as factory] (https://ps.suplai.app/2806.694179fdbc052681.js:1:27122)
at Ue (https://ps.myapp.app/main.750663c576a071b3.js:1:449610)
at Nl (https://ps.myapp.app/main.750663c576a071b3.js:1:500147)
at Mg (https://ps.myapp.app/main.750663c576a071b3.js:1:500218)
at xu.create (https://ps.myapp.app/main.750663c576a071b3.js:1:500504)
at tD.createComponent (https://ps.myapp.app/main.750663c576a071b3.js:1:506694)
at _.activateWith (https://ps.myapp.app/main.750663c576a071b3.js:1:48467)
at Go.activateRoutes (https://ps.myapp.app/main.750663c576a071b3.js:1:586856)
at https://ps.myapp.app/main.750663c576a071b3.js:1:585768
如何识别与消息关联的文件名和代码行?
1条答案
按热度按时间xv8emn3q1#
AppInsights支持按照https://learn.microsoft.com/en-us/azure/azure-monitor/app/source-map-support上传javascript源Map
在callstack窗口下方,您将找到Unminify选项,该选项用于勾选并开始配置存储源Map所需的blob存储。