bcholmes / StarTrek2d20

Character creation tool for Star Trek Adventures RPG from Modiphius.
ISC License
18 stars 7 forks source link

Runabout loads blank page #101

Closed TerawattX closed 1 year ago

TerawattX commented 1 year ago

If selecting Runabout as the spaceframe, after entering the class name and stats the tool loads a black page with no elements.

The JS Console reports "e.spaceframeModel is undefined".

This page uses the non standard property “zoom”. Consider using calc() in the relevant property values, or using “transform” along with “transform-origin: 0 0”. index.html
TypeError: e.spaceframeModel is undefined
    value talents.ts:479
    n talents.ts:3217
    n talents.ts:3216
    value talents.ts:3211
    value starshipTalentsPage.tsx:28
    React 7
    unstable_runWithPriority scheduler.production.min.js:19
    React 6
    value app.tsx:47
    value app.tsx:30
    value eventChannel.ts:18
    value eventChannel.ts:17
    value navigator.tsx:13
    setTimeout handler*value navigator.tsx:11
    value simpleStarshipPage.tsx:211
    value smallCraftStatsPage.tsx:66
    onClick simpleStarshipPage.tsx:138
    onClick button.tsx:16
    React 12
    unstable_runWithPriority scheduler.production.min.js:19
    React 18
    148 index.tsx:6
    l index.html:1
    t index.html:1
    r index.html:1
    <anonymous> main.9473ef12.chunk.js:1
react-dom.production.min.js:209:194
    React 5
    unstable_runWithPriority scheduler.production.min.js:19
    React 4
    unstable_runWithPriority scheduler.production.min.js:19
    React 6
    value app.tsx:47
    value app.tsx:30
    value eventChannel.ts:18
    value eventChannel.ts:17
    value navigator.tsx:13
    (Async: setTimeout handler)
    value navigator.tsx:11
    value simpleStarshipPage.tsx:211
    value smallCraftStatsPage.tsx:66
    onClick simpleStarshipPage.tsx:138
    onClick button.tsx:16
    React 12
    unstable_runWithPriority scheduler.production.min.js:19
    React 18
    148 index.tsx:6
    l index.html:1
    t index.html:1
    r index.html:1
    <anonymous> main.9473ef12.chunk.js:1
Uncaught TypeError: e.spaceframeModel is undefined
    value talents.ts:479
    n talents.ts:3217
    n talents.ts:3216
    value talents.ts:3211
    value starshipTalentsPage.tsx:28
    React 7
    unstable_runWithPriority scheduler.production.min.js:19
    React 6
    value app.tsx:47
    value app.tsx:30
    value eventChannel.ts:18
    value eventChannel.ts:17
    value navigator.tsx:13
    setTimeout handler*value navigator.tsx:11
    value simpleStarshipPage.tsx:211
    value smallCraftStatsPage.tsx:66
    onClick simpleStarshipPage.tsx:138
    onClick button.tsx:16
    React 12
    unstable_runWithPriority scheduler.production.min.js:19
    React 18
    148 index.tsx:6
    l index.html:1
    t index.html:1
    r index.html:1
    <anonymous> main.9473ef12.chunk.js:1
talents.ts:479:8
bcholmes commented 1 year ago

Thanks for reporting that. Definitely a bug. I should have a fix loaded up soon.