NSWSESMembers / Lighthouse

Beacon Tools and UI Improvements
Other
15 stars 15 forks source link

NITC Register Export Error #162

Closed outteridge closed 1 year ago

outteridge commented 1 year ago

Lighthouse NITC Register Export fails with error:

Error loading page Uncaught TypeError: x.nitc.get is not a function Line 2

outteridge commented 1 year ago

Tech details Windows 11 Pro build 22621.1194 Microsoft Edge Version 109.0.1518.78 (Official build) (64-bit)

Open NITC page {"notify":"init_tab"} nitc:202 GET https://az416426.vo.msecnd.net/scripts/a/ai.0.js net::ERR_BLOCKED_BY_CLIENT (anonymous) @ nitc:202 setTimeout (async) window.appInsights.instrumentationKey @ nitc:202 (anonymous) @ nitc:203 moment.min.js:23 Deprecation warning: moment().subtract(period, number) is deprecated. Please use moment().subtract(number, period). See http://momentjs.com/guides/#/warnings/add-inverted-param/ for more info. w @ moment.min.js:23 y @ moment.min.js:23 (anonymous) @ moment.min.js:270 StartDate @ base?v=4iLZ43iL6SJZmN_g0uFTfUA1y89Nn37oef2qOltC_cM1:1411 NonIncidentTimeCaptureFilterViewModel @ register?v=hl8hRvdQsCKf1koJYfCYXAagiCkfdkJV95XxJ2ZojTc1:391 (anonymous) @ register?v=hl8hRvdQsCKf1koJYfCYXAagiCkfdkJV95XxJ2ZojTc1:234 l @ jquery:1 c @ jquery:1 setTimeout (async) (anonymous) @ jquery:1 c @ jquery:1 fireWith @ jquery:1 fire @ jquery:1 c @ jquery:1 fireWith @ jquery:1 ready @ jquery:1 bt @ jquery:1 all.js:2 Lighthouse extension v2023.01.06.01 Production version Utils.ts:186 [2023-02-07T23:57:53.626Z] Information: WebSocket connected to wss://nswsesos-prod-signal.service.signalr.net/client/?hub=beacon&id=vEmb6SLdVfQfXDzfDd0q2g3653ac7e1&access_token=eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJhc3JzLnMuaWQiOiJsUUZHMERvT0FBQT0iLCJuYmYiOjE2NzU4MTQyNzEsImV4cCI6MTY3NTgxNzg3MSwiaWF0IjoxNjc1ODE0MjcxLCJhdWQiOiJodHRwczovL25zd3Nlc29zLXByb2Qtc2lnbmFsLnNlcnZpY2Uuc2lnbmFsci5uZXQvY2xpZW50Lz9odWI9YmVhY29uIn0.QHGtxh65xUUNGE9nYkGbvPu5XIv6XZZxcciKsBZSNsw. all.js:1047 We are ready

Open Lighthouse export Error loading page Uncaught TypeError: x.nitc.get is not a function Line 2 No console output

OSPFNeighbour commented 1 year ago

Thanks,

I can see where the issue is and will get it sorted as soon as I can

On Wed, 8 Feb 2023 at 11:01, Peter @.***> wrote:

Tech details Windows 11 Pro build 22621.1194 Microsoft Edge Version 109.0.1518.78 (Official build) (64-bit)

Open NITC page {"notify":"init_tab"} nitc:202 GET https://az416426.vo.msecnd.net/scripts/a/ai.0.js net::ERR_BLOCKED_BY_CLIENT (anonymous) @ nitc:202 setTimeout (async) window.appInsights.instrumentationKey @ nitc:202 (anonymous) @ nitc:203 moment.min.js:23 Deprecation warning: moment().subtract(period, number) is deprecated. Please use moment().subtract(number, period). See http://momentjs.com/guides/#/warnings/add-inverted-param/ for more info. w @ moment.min.js:23 y @ moment.min.js:23 (anonymous) @ moment.min.js:270 StartDate @ base?v=4iLZ43iL6SJZmN_g0uFTfUA1y89Nn37oef2qOltC_cM1:1411 NonIncidentTimeCaptureFilterViewModel @ register?v=hl8hRvdQsCKf1koJYfCYXAagiCkfdkJV95XxJ2ZojTc1:391 (anonymous) @ register?v=hl8hRvdQsCKf1koJYfCYXAagiCkfdkJV95XxJ2ZojTc1:234 l @ jquery:1 c @ jquery:1 setTimeout (async) (anonymous) @ jquery:1 c @ jquery:1 fireWith @ jquery:1 fire @ jquery:1 c @ jquery:1 fireWith @ jquery:1 ready @ jquery:1 bt @ jquery:1 all.js:2 Lighthouse extension v2023.01.06.01 Production version Utils.ts:186 [2023-02-07T23:57:53.626Z] Information: WebSocket connected to wss:// nswsesos-prod-signal.service.signalr.net/client/?hub=beacon&id=vEmb6SLdVfQfXDzfDd0q2g3653ac7e1&access_token=eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJhc3JzLnMuaWQiOiJsUUZHMERvT0FBQT0iLCJuYmYiOjE2NzU4MTQyNzEsImV4cCI6MTY3NTgxNzg3MSwiaWF0IjoxNjc1ODE0MjcxLCJhdWQiOiJodHRwczovL25zd3Nlc29zLXByb2Qtc2lnbmFsLnNlcnZpY2Uuc2lnbmFsci5uZXQvY2xpZW50Lz9odWI9YmVhY29uIn0.QHGtxh65xUUNGE9nYkGbvPu5XIv6XZZxcciKsBZSNsw . all.js:1047 We are ready

Open Lighthouse export Error loading page Uncaught TypeError: x.nitc.get is not a function Line 2 No console output

— Reply to this email directly, view it on GitHub https://github.com/NSWSESMembers/Lighthouse/issues/162#issuecomment-1421669207, or unsubscribe https://github.com/notifications/unsubscribe-auth/ABMH2NXS25SH4IRKFKSFDU3WWLO4ZANCNFSM6AAAAAAUTPA2F4 . You are receiving this because you are subscribed to this thread.Message ID: @.***>

Rowantrek commented 1 year ago

@OSPFNeighbour I have opened PR #164 to resolve this issue.

OSPFNeighbour commented 1 year ago

Thanks. I've got a fix in my local branch, it got messed up when we did a code migration to webpack.

On Wed, 19 Apr 2023, 5:17 pm Rowantrek, @.***> wrote:

@OSPFNeighbour https://github.com/OSPFNeighbour I have opened PR #164 https://github.com/NSWSESMembers/Lighthouse/pull/164 to resolve this issue.

— Reply to this email directly, view it on GitHub https://github.com/NSWSESMembers/Lighthouse/issues/162#issuecomment-1514245948, or unsubscribe https://github.com/notifications/unsubscribe-auth/ABMH2NWHEHYSEY44JOGL3ETXB6GSPANCNFSM6AAAAAAUTPA2F4 . You are receiving this because you were mentioned.Message ID: @.***>

Rowantrek commented 1 year ago

Collaborator

I assumed you would already have patched it locally; thought I'd open a PR incase that would help get a minor patch out quicker.

Rowantrek commented 1 year ago

@OSPFNeighbour Based on your previous release, I believe this can be closed now.