TypeError when opening Script Settings

Product: PowerShell Universal
Version: 4.1.0

After upgrading to 4.1.0 via MSI, we get the below error when we click on the Settings tab under a script, or the Edit Properties button when in the list view. Looks like it is the same on all our nodes. Anyone else experiencing this?

TypeError: Cannot read properties of undefined (reading 'color')

    at M (http://localhost:5000/admin/static/js/18.56bcc883.chunk.js:2:1092327)
    at div
    at n (http://localhost:5000/admin/static/js/18.56bcc883.chunk.js:2:543473)
    at b (http://localhost:5000/admin/static/js/18.56bcc883.chunk.js:2:543652)
    at y (http://localhost:5000/admin/static/js/18.56bcc883.chunk.js:2:544902)
    at B (http://localhost:5000/admin/static/js/18.56bcc883.chunk.js:2:1093856)
    at te (http://localhost:5000/admin/static/js/18.56bcc883.chunk.js:2:1099810)
    at div
    at re (http://localhost:5000/admin/static/js/18.56bcc883.chunk.js:2:1103546)
    at f (http://localhost:5000/admin/static/js/18.56bcc883.chunk.js:2:757068)
    at le (http://localhost:5000/admin/static/js/18.56bcc883.chunk.js:2:1105793)
    at div
    at http://localhost:5000/admin/static/js/18.56bcc883.chunk.js:2:1108830
    at http://localhost:5000/admin/static/js/18.56bcc883.chunk.js:2:1134898
    at x (http://localhost:5000/admin/static/js/18.56bcc883.chunk.js:2:788571)
    at i (http://localhost:5000/admin/static/js/143.82015431.chunk.js:1:300)
    at http://localhost:5000/admin/static/js/18.56bcc883.chunk.js:2:3190509
    at div
    at div
    at div
    at http://localhost:5000/admin/static/js/18.56bcc883.chunk.js:2:1019553
    at re (http://localhost:5000/admin/static/js/18.56bcc883.chunk.js:2:3186301)
    at div
    at http://localhost:5000/admin/static/js/18.56bcc883.chunk.js:2:3035599
    at div
    at oe (http://localhost:5000/admin/static/js/18.56bcc883.chunk.js:2:3187980)
    at n (http://localhost:5000/admin/static/js/18.56bcc883.chunk.js:2:584194)
    at te (http://localhost:5000/admin/static/js/18.56bcc883.chunk.js:2:590049)
    at le (http://localhost:5000/admin/static/js/18.56bcc883.chunk.js:2:3190719)
    at Ze (http://localhost:5000/admin/static/js/main.1a3eeef1.chunk.js:1:69516)
    at form
    at ve (http://localhost:5000/admin/static/js/18.56bcc883.chunk.js:2:605999)
    at i (http://localhost:5000/admin/static/js/18.56bcc883.chunk.js:2:538721)
    at i (http://localhost:5000/admin/static/js/18.56bcc883.chunk.js:2:558245)
    at A (http://localhost:5000/admin/static/js/18.56bcc883.chunk.js:2:3182592)
    at Xe (http://localhost:5000/admin/static/js/main.1a3eeef1.chunk.js:1:71005)
    at Ye (http://localhost:5000/admin/static/js/main.1a3eeef1.chunk.js:1:69141)
    at div
    at div
    at http://localhost:5000/admin/static/js/18.56bcc883.chunk.js:2:1250705
    at div
    at http://localhost:5000/admin/static/js/18.56bcc883.chunk.js:2:1250854
    at n (http://localhost:5000/admin/static/js/18.56bcc883.chunk.js:2:534267)
    at http://localhost:5000/admin/static/js/18.56bcc883.chunk.js:2:534560
    at http://localhost:5000/admin/static/js/18.56bcc883.chunk.js:2:1252438
    at div
    at div
    at te (http://localhost:5000/admin/static/js/18.56bcc883.chunk.js:2:1253353)
    at http://localhost:5000/admin/static/js/18.56bcc883.chunk.js:2:1248023
    at ne (http://localhost:5000/admin/static/js/18.56bcc883.chunk.js:2:1255375)
    at d (http://localhost:5000/admin/static/js/18.56bcc883.chunk.js:2:385579)
    at h (http://localhost:5000/admin/static/js/18.56bcc883.chunk.js:2:547693)
    at z (http://localhost:5000/admin/static/js/18.56bcc883.chunk.js:2:3196261)
    at M (http://localhost:5000/admin/static/js/main.1a3eeef1.chunk.js:1:7978)
    at A (http://localhost:5000/admin/static/js/main.1a3eeef1.chunk.js:1:8183)
    at v (http://localhost:5000/admin/static/js/2.9a1802ad.chunk.js:1:315)
    at div
    at I (http://localhost:5000/admin/static/js/main.1a3eeef1.chunk.js:1:1076)
    at div
    at d (http://localhost:5000/admin/static/js/18.56bcc883.chunk.js:2:924678)
    at div
    at g (http://localhost:5000/admin/static/js/18.56bcc883.chunk.js:2:925671)
    at td
    at _ (http://localhost:5000/admin/static/js/18.56bcc883.chunk.js:2:3290676)
    at http://localhost:5000/admin/static/js/18.56bcc883.chunk.js:2:3293675
    at tr
    at ee (http://localhost:5000/admin/static/js/18.56bcc883.chunk.js:2:3297410)
    at tbody
    at Provider (http://localhost:5000/admin/static/js/18.56bcc883.chunk.js:2:3290251)
    at ie (http://localhost:5000/admin/static/js/18.56bcc883.chunk.js:2:3300560)
    at table
    at div
    at div
    at http://localhost:5000/admin/static/js/18.56bcc883.chunk.js:2:3311472
    at div
    at n (http://localhost:5000/admin/static/js/18.56bcc883.chunk.js:2:543473)
    at b (http://localhost:5000/admin/static/js/18.56bcc883.chunk.js:2:543652)
    at y (http://localhost:5000/admin/static/js/18.56bcc883.chunk.js:2:544902)
    at Be (http://localhost:5000/admin/static/js/18.56bcc883.chunk.js:2:3311609)
    at div
    at div
    at g (http://localhost:5000/admin/static/js/18.56bcc883.chunk.js:2:1016922)
    at b (http://localhost:5000/admin/static/js/18.56bcc883.chunk.js:2:1018846)
    at div
    at hn (http://localhost:5000/admin/static/js/18.56bcc883.chunk.js:2:3343750)
    at n (http://localhost:5000/admin/static/js/18.56bcc883.chunk.js:2:3275060)
    at Suspense
    at u (http://localhost:5000/admin/static/js/main.1a3eeef1.chunk.js:1:9307)
    at t.default (http://localhost:5000/admin/static/js/main.1a3eeef1.chunk.js:1:110327)
    at div
    at div
    at t (http://localhost:5000/admin/static/js/14.b087f3a1.chunk.js:1:6710)
    at div
    at div
    at n (http://localhost:5000/admin/static/js/18.56bcc883.chunk.js:2:543473)
    at b (http://localhost:5000/admin/static/js/18.56bcc883.chunk.js:2:543652)
    at y (http://localhost:5000/admin/static/js/18.56bcc883.chunk.js:2:544902)
    at t.a (http://localhost:5000/admin/static/js/18.56bcc883.chunk.js:2:3391179)
    at G (http://localhost:5000/admin/static/js/23.666af350.chunk.js:1:9622)
    at d (http://localhost:5000/admin/static/js/18.56bcc883.chunk.js:2:388526)
    at p (http://localhost:5000/admin/static/js/18.56bcc883.chunk.js:2:388854)
    at p
    at d (http://localhost:5000/admin/static/js/18.56bcc883.chunk.js:2:388526)
    at p (http://localhost:5000/admin/static/js/18.56bcc883.chunk.js:2:388854)
    at n (http://localhost:5000/admin/static/js/18.56bcc883.chunk.js:2:3275060)
    at Suspense
    at u (http://localhost:5000/admin/static/js/main.1a3eeef1.chunk.js:1:9307)
    at main
    at http://localhost:5000/admin/static/js/18.56bcc883.chunk.js:2:923119
    at http://localhost:5000/admin/static/js/18.56bcc883.chunk.js:2:922950
    at section
    at http://localhost:5000/admin/static/js/18.56bcc883.chunk.js:2:923354
    at http://localhost:5000/admin/static/js/18.56bcc883.chunk.js:2:922950
    at div
    at div
    at t (http://localhost:5000/admin/static/js/18.56bcc883.chunk.js:2:2905621)
    at xe (http://localhost:5000/admin/static/js/main.1a3eeef1.chunk.js:1:166771)
    at section
    at http://localhost:5000/admin/static/js/18.56bcc883.chunk.js:2:923354
    at http://localhost:5000/admin/static/js/18.56bcc883.chunk.js:2:922950
    at section
    at http://localhost:5000/admin/static/js/18.56bcc883.chunk.js:2:923354
    at http://localhost:5000/admin/static/js/18.56bcc883.chunk.js:2:922950
    at Ht (http://localhost:5000/admin/static/js/main.1a3eeef1.chunk.js:1:189635)
    at d (http://localhost:5000/admin/static/js/18.56bcc883.chunk.js:2:388526)
    at p (http://localhost:5000/admin/static/js/18.56bcc883.chunk.js:2:388854)
    at h (http://localhost:5000/admin/static/js/18.56bcc883.chunk.js:2:388591)
    at u (http://localhost:5000/admin/static/js/18.56bcc883.chunk.js:2:376639)
    at n (http://localhost:5000/admin/static/js/18.56bcc883.chunk.js:2:3275060)
    at Suspense
    at u (http://localhost:5000/admin/static/js/main.1a3eeef1.chunk.js:1:9307)
    at c (http://localhost:5000/admin/static/js/18.56bcc883.chunk.js:2:679331)
    at f (http://localhost:5000/admin/static/js/main.1a3eeef1.chunk.js:1:156567)
    at s (http://localhost:5000/admin/static/js/18.56bcc883.chunk.js:2:954224)
    at ya

downgraded to 3.9.17, now we get a React error when opening script details…

Error: Minified React error #152; visit http://reactjs.org/docs/error-decoder.html?invariant=152&args[]=n for the full message or use the non-minified dev environment for full errors and additional helpful warnings.

    at n (http://localhost:5000/admin/static/js/17.1c983026.chunk.js:2:3135711)
    at Suspense
    at u (http://localhost:5000/admin/static/js/main.6ee6afd9.chunk.js:1:9343)
    at div
    at div
    at http://localhost:5000/admin/static/js/17.1c983026.chunk.js:2:3429406
    at d (http://localhost:5000/admin/static/js/114.13b3fcae.chunk.js:1:573)
    at div
    at http://localhost:5000/admin/static/js/17.1c983026.chunk.js:2:1017995
    at F (http://localhost:5000/admin/static/js/main.6ee6afd9.chunk.js:1:107857)
    at div
    at http://localhost:5000/admin/static/js/17.1c983026.chunk.js:2:3035659
    at w (http://localhost:5000/admin/static/js/main.6ee6afd9.chunk.js:1:107487)
    at n (http://localhost:5000/admin/static/js/17.1c983026.chunk.js:2:3135711)
    at Suspense
    at u (http://localhost:5000/admin/static/js/main.6ee6afd9.chunk.js:1:9343)
    at m (http://localhost:5000/admin/static/js/main.6ee6afd9.chunk.js:1:106983)
    at g (http://localhost:5000/admin/static/js/main.6ee6afd9.chunk.js:1:107161)
    at p (http://localhost:5000/admin/static/js/38.ea2a547c.chunk.js:1:16068)
    at d (http://localhost:5000/admin/static/js/17.1c983026.chunk.js:2:388526)
    at p (http://localhost:5000/admin/static/js/17.1c983026.chunk.js:2:388854)
    at p
    at d (http://localhost:5000/admin/static/js/17.1c983026.chunk.js:2:388526)
    at p (http://localhost:5000/admin/static/js/17.1c983026.chunk.js:2:388854)
    at n (http://localhost:5000/admin/static/js/17.1c983026.chunk.js:2:3135711)
    at Suspense
    at u (http://localhost:5000/admin/static/js/main.6ee6afd9.chunk.js:1:9343)
    at main
    at http://localhost:5000/admin/static/js/17.1c983026.chunk.js:2:923119
    at http://localhost:5000/admin/static/js/17.1c983026.chunk.js:2:922950
    at section
    at http://localhost:5000/admin/static/js/17.1c983026.chunk.js:2:923354
    at http://localhost:5000/admin/static/js/17.1c983026.chunk.js:2:922950
    at div
    at div
    at t (http://localhost:5000/admin/static/js/17.1c983026.chunk.js:2:2905681)
    at Oe (http://localhost:5000/admin/static/js/main.6ee6afd9.chunk.js:1:159798)
    at section
    at http://localhost:5000/admin/static/js/17.1c983026.chunk.js:2:923354
    at http://localhost:5000/admin/static/js/17.1c983026.chunk.js:2:922950
    at section
    at http://localhost:5000/admin/static/js/17.1c983026.chunk.js:2:923354
    at http://localhost:5000/admin/static/js/17.1c983026.chunk.js:2:922950
    at Et (http://localhost:5000/admin/static/js/main.6ee6afd9.chunk.js:1:181761)
    at d (http://localhost:5000/admin/static/js/17.1c983026.chunk.js:2:388526)
    at p (http://localhost:5000/admin/static/js/17.1c983026.chunk.js:2:388854)
    at h (http://localhost:5000/admin/static/js/17.1c983026.chunk.js:2:388591)
    at u (http://localhost:5000/admin/static/js/17.1c983026.chunk.js:2:376639)
    at n (http://localhost:5000/admin/static/js/17.1c983026.chunk.js:2:3135711)
    at Suspense
    at u (http://localhost:5000/admin/static/js/main.6ee6afd9.chunk.js:1:9343)
    at m (http://localhost:5000/admin/static/js/main.6ee6afd9.chunk.js:1:149658)
    at s (http://localhost:5000/admin/static/js/17.1c983026.chunk.js:2:954224)
    at c (http://localhost:5000/admin/static/js/17.1c983026.chunk.js:2:679331)
    at xa

This is typically a browser caching issue.

thanks Adam, clearing the cache this way fixed the React issue