You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Heya – thank you for maintaining Statoscope! Incredibly useful tool.
Since I upgraded to v5.25, Statoscope started crashing when loading the UI. The error reads like this:
statoscope-unnamed-187619ba9f701cb87367.html:78 Uncaught TypeError: n.subarray is not a function
at Object.inflate (statoscope-unnamed-187619ba9f701cb87367.html:78:38851)
at window.Pako.la.push (statoscope-unnamed-187619ba9f701cb87367.html:78:45733)
at statoscope-unnamed-187619ba9f701cb87367.html:1299:28
at Array.map (<anonymous>)
at Object.parse (statoscope-unnamed-187619ba9f701cb87367.html:1290:43)
at statoscope-unnamed-187619ba9f701cb87367.html:1327:24
The relevant line seems to be this (this is the only mention of .subarray() in the diff between v5.24 and v5.25):
Describe the bug
Heya – thank you for maintaining Statoscope! Incredibly useful tool.
Since I upgraded to v5.25, Statoscope started crashing when loading the UI. The error reads like this:
The relevant line seems to be this (this is the only mention of
.subarray()
in the diff between v5.24 and v5.25):statoscope/packages/report-writer/src/utils.ts
Line 72 in e5f1683
If you pause at the exception, you’ll notice
n
is defined, it just doesn’t have thesubarray
function (because it’s a regular array):To Reproduce
Steps to reproduce the behavior:
Run
git clone git@github.com:appsmithorg/appsmith.git --depth 1 cd appsmith/app/client cp .env.example .env yarn
Install Statoscope:
Add Statoscope to
craco.common.config.js
:Build the app:
Observe how the report opens but hangs at “Parsing...”. Observe the above error in the JS console
Expected behavior
The report should load successfully.
Screenshots
Versions:
The text was updated successfully, but these errors were encountered: