[GH-ISSUE #3675] [Issue]: Tic-Tac-Toe fails to render because React is undefined #1985

Closed
opened 2026-10-21 05:44:22 +07:00 by bsakaguchi · 1 comment
Owner

Originally created by @SpicyMarinara on GitHub (Jul 16, 2026).
Original GitHub issue: https://github.com/Pasta-Devs/Marinara-Engine/issues/3675

Originally assigned to: @SpicyMarinara on GitHub.

Summary

Starting Tic-Tac-Toe in a conversation on Marinara Engine 2.3.1 and staging can fail to display the game and produce repeated browser console errors indicating that React is not defined.

Expected behavior

Tic-Tac-Toe should load and display within the conversation without browser console errors.

Actual behavior

The game does not appear, and the browser console reports an uncaught ReferenceError from the Tic-Tac-Toe capability package client.

Steps to reproduce

  1. Open a conversation in Marinara Engine 2.3.1 or staging.
  2. Start a Tic-Tac-Toe game in the conversation.
  3. Observe that the game does not display.
  4. Open the browser console and observe the React reference errors.

Environment

  • Marinara Engine version: 2.3.1 and staging
  • Install type: Not provided
  • OS + version: Not provided
  • Browser or app shell: Not provided

Logs, screenshots, or video

Browser console output:
Uncaught ReferenceError: React is not defined
pC http://127.0.0.1:7860/api/capability-packages/tic-tac-toe/client?v=1.0.0:412
Rm http://127.0.0.1:7860/api/capability-packages/tic-tac-toe/client?v=1.0.0:8
$f http://127.0.0.1:7860/api/capability-packages/tic-tac-toe/client?v=1.0.0:8
dx http://127.0.0.1:7860/api/capability-packages/tic-tac-toe/client?v=1.0.0:8
Ux http://127.0.0.1:7860/api/capability-packages/tic-tac-toe/client?v=1.0.0:8
gL http://127.0.0.1:7860/api/capability-packages/tic-tac-toe/client?v=1.0.0:8
Additional console lines were omitted in the Discord message. Proposed patch: games-fix.patch — https://cdn.discordapp.com/attachments/1527191724747653242/1527191725016092722/games-fix.patch?ex=6a59c3a1&is=6a587221&hm=0ff7f770b69fde74cf1cea3634a744db2e280bd4128fa629d3b4e32303b931ce&

Additional context

The attached patch restored game functionality for the reporter, but the reporter was unsure whether it is the correct fix. The reporter's device details were requested but not provided.

Discord thread: Possible Games conversation bug in 2.3.1 and staging
Discord thread link: https://discord.com/channels/1417099416812392641/1527191724747653242
Requested by: Marinara (marinara_spaghetti, Discord ID 169561011928432653)

Discord thread transcript (3 messages)
[2026-07-16T05:54:41.030Z] Terabytes: This one I'm not so sure about. I tried playing Tic-Tac-Toe in a conversation today. It started spewing these errors in the browser console and otherwise not showing the game:
` ` `
Uncaught ReferenceError: React is not defined
    pC http://127.0.0.1:7860/api/capability-packages/tic-tac-toe/client?v=1.0.0:412
    Rm http://127.0.0.1:7860/api/capability-packages/tic-tac-toe/client?v=1.0.0:8
    $f http://127.0.0.1:7860/api/capability-packages/tic-tac-toe/client?v=1.0.0:8
    dx http://127.0.0.1:7860/api/capability-packages/tic-tac-toe/client?v=1.0.0:8
    Ux http://127.0.0.1:7860/api/capability-packages/tic-tac-toe/client?v=1.0.0:8
    gL http://127.0.0.1:7860/api/capability-packages/tic-tac-toe/client?v=1.0.0:8
...
` ` `
I did get the games to work again after Prof. Mari made this change for me.
I am a humble dumbass and will not pretend to understand if this is the proper fix for the issue or not, however.
[attached file: games-fix.patch — https://cdn.discordapp.com/attachments/1527191724747653242/1527191725016092722/games-fix.patch?ex=6a59c3a1&is=6a587221&hm=0ff7f770b69fde74cf1cea3634a744db2e280bd4128fa629d3b4e32303b931ce&]
[Discord message: https://discord.com/channels/1417099416812392641/1527191724747653242/1527191724747653242]

[2026-07-16T05:55:20.552Z] Terabytes: I'm starting to wonder if my ME install is somehow cursed
[Discord message: https://discord.com/channels/1417099416812392641/1527191724747653242/1527191890515202120]

[2026-07-16T07:48:38.159Z] Marinara: What is your device?
[Discord message: https://discord.com/channels/1417099416812392641/1527191724747653242/1527220401745432616]

Template check

Please uncheck (untick) the box below before submitting so we know you read the template. It is intentionally pre-checked:

  • I DID NOT read this template and provide the requested details.
Originally created by @SpicyMarinara on GitHub (Jul 16, 2026). Original GitHub issue: https://github.com/Pasta-Devs/Marinara-Engine/issues/3675 Originally assigned to: @SpicyMarinara on GitHub. ## Summary Starting Tic-Tac-Toe in a conversation on Marinara Engine 2.3.1 and staging can fail to display the game and produce repeated browser console errors indicating that React is not defined. ## Expected behavior Tic-Tac-Toe should load and display within the conversation without browser console errors. ## Actual behavior The game does not appear, and the browser console reports an uncaught ReferenceError from the Tic-Tac-Toe capability package client. ## Steps to reproduce 1. Open a conversation in Marinara Engine 2.3.1 or staging. 2. Start a Tic-Tac-Toe game in the conversation. 3. Observe that the game does not display. 4. Open the browser console and observe the React reference errors. ## Environment - Marinara Engine version: 2.3.1 and staging - Install type: Not provided - OS + version: Not provided - Browser or app shell: Not provided ## Logs, screenshots, or video Browser console output: Uncaught ReferenceError: React is not defined pC http://127.0.0.1:7860/api/capability-packages/tic-tac-toe/client?v=1.0.0:412 Rm http://127.0.0.1:7860/api/capability-packages/tic-tac-toe/client?v=1.0.0:8 $f http://127.0.0.1:7860/api/capability-packages/tic-tac-toe/client?v=1.0.0:8 dx http://127.0.0.1:7860/api/capability-packages/tic-tac-toe/client?v=1.0.0:8 Ux http://127.0.0.1:7860/api/capability-packages/tic-tac-toe/client?v=1.0.0:8 gL http://127.0.0.1:7860/api/capability-packages/tic-tac-toe/client?v=1.0.0:8 Additional console lines were omitted in the Discord message. Proposed patch: games-fix.patch — https://cdn.discordapp.com/attachments/1527191724747653242/1527191725016092722/games-fix.patch?ex=6a59c3a1&is=6a587221&hm=0ff7f770b69fde74cf1cea3634a744db2e280bd4128fa629d3b4e32303b931ce& ## Additional context The attached patch restored game functionality for the reporter, but the reporter was unsure whether it is the correct fix. The reporter's device details were requested but not provided. Discord thread: Possible Games conversation bug in 2.3.1 and staging Discord thread link: https://discord.com/channels/1417099416812392641/1527191724747653242 Requested by: Marinara (marinara_spaghetti, Discord ID 169561011928432653) <details> <summary>Discord thread transcript (3 messages)</summary> ```text [2026-07-16T05:54:41.030Z] Terabytes: This one I'm not so sure about. I tried playing Tic-Tac-Toe in a conversation today. It started spewing these errors in the browser console and otherwise not showing the game: ` ` ` Uncaught ReferenceError: React is not defined pC http://127.0.0.1:7860/api/capability-packages/tic-tac-toe/client?v=1.0.0:412 Rm http://127.0.0.1:7860/api/capability-packages/tic-tac-toe/client?v=1.0.0:8 $f http://127.0.0.1:7860/api/capability-packages/tic-tac-toe/client?v=1.0.0:8 dx http://127.0.0.1:7860/api/capability-packages/tic-tac-toe/client?v=1.0.0:8 Ux http://127.0.0.1:7860/api/capability-packages/tic-tac-toe/client?v=1.0.0:8 gL http://127.0.0.1:7860/api/capability-packages/tic-tac-toe/client?v=1.0.0:8 ... ` ` ` I did get the games to work again after Prof. Mari made this change for me. I am a humble dumbass and will not pretend to understand if this is the proper fix for the issue or not, however. [attached file: games-fix.patch — https://cdn.discordapp.com/attachments/1527191724747653242/1527191725016092722/games-fix.patch?ex=6a59c3a1&is=6a587221&hm=0ff7f770b69fde74cf1cea3634a744db2e280bd4128fa629d3b4e32303b931ce&] [Discord message: https://discord.com/channels/1417099416812392641/1527191724747653242/1527191724747653242] [2026-07-16T05:55:20.552Z] Terabytes: I'm starting to wonder if my ME install is somehow cursed [Discord message: https://discord.com/channels/1417099416812392641/1527191724747653242/1527191890515202120] [2026-07-16T07:48:38.159Z] Marinara: What is your device? [Discord message: https://discord.com/channels/1417099416812392641/1527191724747653242/1527220401745432616] ``` </details> ## Template check Please **uncheck (untick)** the box below before submitting so we know you read the template. It is intentionally pre-checked: - [ ] I DID NOT read this template and provide the requested details.
bsakaguchi 2026-10-21 05:44:22 +07:00
  • closed this issue
  • added the
    bug
    label
Author
Owner

@SpicyMarinara commented on GitHub (Jul 16, 2026):

Resolved in #3678: the host exposes React before installed capability clients load, restoring legacy Tic-Tac-Toe package rendering. The complete desktop/mobile UI smoke suite passes.

<!-- gh-comment-id:4990211949 --> @SpicyMarinara commented on GitHub (Jul 16, 2026): Resolved in #3678: the host exposes React before installed capability clients load, restoring legacy Tic-Tac-Toe package rendering. The complete desktop/mobile UI smoke suite passes.
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
Pasta-Devs/Marinara-Engine#1985
No description provided.