[GH-ISSUE #6320] [Issue]: Blank browser page after 2.4.6 update with frontend JavaScript MIME errors #3528

Closed
opened 2026-10-21 06:03:59 +07:00 by bsakaguchi · 2 comments
Owner

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

Originally assigned to: @SpicyMarinara on GitHub.

Summary

After updating to Marinara Engine 2.4.6, the Start.bat script opens the correct browser address but the application UI remains blank. Browser developer tools report that JavaScript module assets are being served as HTML.

Expected behavior

Marinara Engine should start successfully and display its user interface in the browser.

Actual behavior

The browser opens the Marinara Engine address but shows a blank page. Multiple hashed JavaScript assets fail to load because the server responds with an HTML MIME type instead of a JavaScript or WebAssembly module MIME type.

Steps to reproduce

  1. Update or install Marinara Engine 2.4.6.
  2. Run Start.bat on Windows.
  3. Open the browser tab at the address provided by Start.bat.
  4. Observe that the page has a blank background and no usable settings interface.
  5. Open browser developer tools and inspect the Console or Network tab.

Environment

  • Marinara Engine version: 2.4.6
  • Install type: Not provided
  • OS + version: Windows (version not provided)
  • Browser or app shell: Browser not provided

Logs, screenshots, or video

Support warning: "Previous session (pid xxxxx) ended without shutting down: last alive 2026-09-17T22:07:54.004Z after 1 min, RSS 123.4 MiB. Nothing was logged, so the process was ended from outside." Browser console reports approximately 20 errors of this type: "Failed to load module script: for example assets/vendor-icons-x-Bmkx7CCh.js Expected a JavaScript-or-Wasm module script but the server responded with a MIME type of "text/html". Strict MIME type checking is enforced for module scripts per HTML spec." No screenshots or video provided.

Additional context

The issue was noticed after abruptly closing the CMD/Start.bat window. Deleting the writer lease folder, deleting and reinstalling the entire Marinara Engine folder, rebooting the PC, running Start.bat as administrator, clearing or changing browser state, and testing the suggested troubleshooting steps did not resolve the blank page. The user could not access Marinara Engine settings.

Discord thread: ME not opening since 2.4.6 update, writer-lease bug
Discord thread link: https://discord.com/channels/1417099416812392641/1550433699030372373
Requested by: Marinara (marinara_spaghetti, Discord ID 169561011928432653)

Discord thread transcript (7 messages)
[2026-09-18T09:09:59.514Z] VNB: "Previous session (pid *****) ended without shutting down: last alive 2026-09-17T22:07:54.004Z after 1 min, RSS 123.4 MiB. Nothing was logged, so the process was ended from outside - on Android/Termux the usual causes are the phantom process killer or battery management; on desktop, a force-quit or power loss. See Support Diagnostics for the record."} 

From what I've seen it seems the bug appeared because one time I closed the CMD/start.bat window abruptly. Now even deleting the writer lease folder does nothing.
[Discord message: https://discord.com/channels/1417099416812392641/1550433699030372373/1550433699030372373]

[2026-09-18T09:10:00.070Z] Professor Mari [bot]: Howdy!

Thank you for submitting a new bug report/feature request, your support means a lot. A member of the team will look into it as soon as possible, and if they find it valid, they will open a GitHub Issue out of it. You can check whether it was addressed on the staging build of Marinara Engine. **Do not ping any of the developers, this will not speed up the process.**

**Please include a Support Diagnostic in the post if you haven't done it yet.** Otherwise, ignore this step. To grab it, go to the Marinara Engine tab:

`Settings -> Advanced -> Support Diagnostics -> Copy Support Diagnostics.`

If your report is about any of the **Agents**, please provide **the Agent's version** which you can grab from here:

`Agents -> Download Agents -> Installed Agents -> Selected Agent -> Installed Version`

Thank you, this will help tremendously.

This is an automated message, but if you reply to it, I will do my best to assist you using my LLM-powered brain. That said, it's best for a human to handle this case.

Cheers!
[Discord message: https://discord.com/channels/1417099416812392641/1550433699030372373/1550433701362532415]

[2026-09-18T09:12:51.203Z] Professor Mari [bot]: Oops, guess I'm temporarily offline. Errors and such, sad stuff. Try again in a minute!
[Discord message: https://discord.com/channels/1417099416812392641/1550433699030372373/1550434419146367018]

[2026-09-18T11:37:28.137Z] VNB: @Professor Mari   I cannot access ME anymore after the update, the Start.bat script opens a tab in the browser with the right adress for ME, but the screen is blank, and I have this error message above : "Previous session (pid xxxxx) ended without shutting down: last alive 2026-09-17T22:07:54.004Z after 1 min, RSS 123.4 MiB. Nothing was logged, so the process was ended from outside - on Android/Termux the usual causes are the phantom process killer or battery management; on desktop, a force-quit or power loss. See Support Diagnostics for the record."}
So I cannot access any settings options. Tried deleting whole ME folder and installing again, rebooting PC, admin mode for start.bat, nothing works.
[Discord message: https://discord.com/channels/1417099416812392641/1550433699030372373/1550470812845482065]

[2026-09-18T11:38:35.429Z] Professor Mari [bot]: That warning is probably **a symptom, not a stuck writer lease**. It says the previous ME process was terminated externally and left no shutdown log; deleting the lease folder would not repair a browser-side blank screen or a launcher/runtime crash.

Try this on Windows:

1. Close the blank ME tab and reboot once, to clear any orphaned Node/ME process.
2. Open **Command Prompt** manually, then run the launcher from ME’s folder instead of double-clicking it:
   ` ` `bat
   cd /d "C:\path\to\Marinara-Engine"
   start.bat
   ` ` `
   Keep that CMD window open and copy any output or error that appears.
3. If the server stays running, open the displayed address in an Incognito/InPrivate window or another browser. A hard refresh and clearing site data for that localhost address can rule out a stale browser bundle/service worker.
4. If the CMD process dies again after about a minute, check Windows Security/antivirus quarantine and Task Manager. The warning only proves that the process ended without its normal shutdown path; it does **not** identify whether Windows, the launcher, or the runtime caused it.

For a blank desktop page, the repository’s own UI guidance points desktop users to the **server terminal or browser developer tools**, rather than the in-app console (`packages/client/src/components/panels/SettingsPanel.tsx:1439-1450`). Press `F12`, check **Console** and **Network**, and save the first red error.

Please post these details in a support thread if it still fails: ME version, Windows version, installation method, browser, the full CMD output, and the first browser-console error:  
https://discord.com/channels/1417099416812392641/1472566848104042496

I can make mistakes—I’m still an LLM, so don’t trust my diagnosis blindly.
[Discord message: https://discord.com/channels/1417099416812392641/1550433699030372373/1550471095088455726]

[2026-09-18T11:49:18.447Z] VNB: Still blank background. and same error message after I did everything you said. The F12 check on the browser gives 20 errors of the same type : "Failed to load module script:  for example assets/vendor-icons-x-Bmkx7CCh.js  Expected a JavaScript-or-Wasm module script but the server responded with a MIME type of "text/html". Strict MIME type checking is enforced for module scripts per HTML spec."
[Discord message: https://discord.com/channels/1417099416812392641/1550433699030372373/1550473792101552159]

[2026-09-18T11:51:11.440Z] Professor Mari [bot]: That MIME error is the useful clue. The browser requested a hashed JavaScript bundle, but ME returned an HTML page instead. The old-session warning is probably historical and not the cause of the blank UI; deleting the writer lease will not repair missing or mismatched frontend assets. ME’s server does serve its frontend entry as `text/html` (`packages/server/src/app.ts:295`), so a missing/misdirected asset falling through to that page would produce exactly this browser error. The snippets do not prove whether the cause is stale browser data, an incomplete build, or routing/security software.

Try this:
1. Close every ME tab.
2. Clear site data for both `localhost` and `127.0.0.1` on ME’s port. In DevTools, also check **Application → Service Workers** and unregister any worker, then use **Network → Disable cache** and reload.
3. Test the fresh address from `start.bat` in an InPrivate/incognito window or another browser.
4. In F12 **Network**, open one failed `.js` request and report its full **Request URL**, **status code**, **Content-Type**, and the first line of **Response**. If it is `200 text/html` beginning with `<!doctype html>`, that confirms fallback HTML; a `30x` status would instead indicate a redirect.

If a different browser still fails, please create a thread at https://discord.com/channels/1417099416812392641/1472566848104042496 and include your ME version, Windows version, installation/update method, browser, complete `start.bat` console output, and those Network details. Don’t delete your data again while diagnosing this particular mess, lmao.

I’m still an LLM and can misdiagnose things, so don’t trust my judgment too blindly.
[Discord message: https://discord.com/channels/1417099416812392641/1550433699030372373/1550474266028540009]

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 (Sep 18, 2026). Original GitHub issue: https://github.com/Pasta-Devs/Marinara-Engine/issues/6320 Originally assigned to: @SpicyMarinara on GitHub. ## Summary After updating to Marinara Engine 2.4.6, the Start.bat script opens the correct browser address but the application UI remains blank. Browser developer tools report that JavaScript module assets are being served as HTML. ## Expected behavior Marinara Engine should start successfully and display its user interface in the browser. ## Actual behavior The browser opens the Marinara Engine address but shows a blank page. Multiple hashed JavaScript assets fail to load because the server responds with an HTML MIME type instead of a JavaScript or WebAssembly module MIME type. ## Steps to reproduce 1. Update or install Marinara Engine 2.4.6. 2. Run Start.bat on Windows. 3. Open the browser tab at the address provided by Start.bat. 4. Observe that the page has a blank background and no usable settings interface. 5. Open browser developer tools and inspect the Console or Network tab. ## Environment - Marinara Engine version: 2.4.6 - Install type: Not provided - OS + version: Windows (version not provided) - Browser or app shell: Browser not provided ## Logs, screenshots, or video Support warning: "Previous session (pid xxxxx) ended without shutting down: last alive 2026-09-17T22:07:54.004Z after 1 min, RSS 123.4 MiB. Nothing was logged, so the process was ended from outside." Browser console reports approximately 20 errors of this type: "Failed to load module script: for example assets/vendor-icons-x-Bmkx7CCh.js Expected a JavaScript-or-Wasm module script but the server responded with a MIME type of \"text/html\". Strict MIME type checking is enforced for module scripts per HTML spec." No screenshots or video provided. ## Additional context The issue was noticed after abruptly closing the CMD/Start.bat window. Deleting the writer lease folder, deleting and reinstalling the entire Marinara Engine folder, rebooting the PC, running Start.bat as administrator, clearing or changing browser state, and testing the suggested troubleshooting steps did not resolve the blank page. The user could not access Marinara Engine settings. Discord thread: ME not opening since 2.4.6 update, writer-lease bug Discord thread link: https://discord.com/channels/1417099416812392641/1550433699030372373 Requested by: Marinara (marinara_spaghetti, Discord ID 169561011928432653) <details> <summary>Discord thread transcript (7 messages)</summary> ```text [2026-09-18T09:09:59.514Z] VNB: "Previous session (pid *****) ended without shutting down: last alive 2026-09-17T22:07:54.004Z after 1 min, RSS 123.4 MiB. Nothing was logged, so the process was ended from outside - on Android/Termux the usual causes are the phantom process killer or battery management; on desktop, a force-quit or power loss. See Support Diagnostics for the record."} From what I've seen it seems the bug appeared because one time I closed the CMD/start.bat window abruptly. Now even deleting the writer lease folder does nothing. [Discord message: https://discord.com/channels/1417099416812392641/1550433699030372373/1550433699030372373] [2026-09-18T09:10:00.070Z] Professor Mari [bot]: Howdy! Thank you for submitting a new bug report/feature request, your support means a lot. A member of the team will look into it as soon as possible, and if they find it valid, they will open a GitHub Issue out of it. You can check whether it was addressed on the staging build of Marinara Engine. **Do not ping any of the developers, this will not speed up the process.** **Please include a Support Diagnostic in the post if you haven't done it yet.** Otherwise, ignore this step. To grab it, go to the Marinara Engine tab: `Settings -> Advanced -> Support Diagnostics -> Copy Support Diagnostics.` If your report is about any of the **Agents**, please provide **the Agent's version** which you can grab from here: `Agents -> Download Agents -> Installed Agents -> Selected Agent -> Installed Version` Thank you, this will help tremendously. This is an automated message, but if you reply to it, I will do my best to assist you using my LLM-powered brain. That said, it's best for a human to handle this case. Cheers! [Discord message: https://discord.com/channels/1417099416812392641/1550433699030372373/1550433701362532415] [2026-09-18T09:12:51.203Z] Professor Mari [bot]: Oops, guess I'm temporarily offline. Errors and such, sad stuff. Try again in a minute! [Discord message: https://discord.com/channels/1417099416812392641/1550433699030372373/1550434419146367018] [2026-09-18T11:37:28.137Z] VNB: @Professor Mari I cannot access ME anymore after the update, the Start.bat script opens a tab in the browser with the right adress for ME, but the screen is blank, and I have this error message above : "Previous session (pid xxxxx) ended without shutting down: last alive 2026-09-17T22:07:54.004Z after 1 min, RSS 123.4 MiB. Nothing was logged, so the process was ended from outside - on Android/Termux the usual causes are the phantom process killer or battery management; on desktop, a force-quit or power loss. See Support Diagnostics for the record."} So I cannot access any settings options. Tried deleting whole ME folder and installing again, rebooting PC, admin mode for start.bat, nothing works. [Discord message: https://discord.com/channels/1417099416812392641/1550433699030372373/1550470812845482065] [2026-09-18T11:38:35.429Z] Professor Mari [bot]: That warning is probably **a symptom, not a stuck writer lease**. It says the previous ME process was terminated externally and left no shutdown log; deleting the lease folder would not repair a browser-side blank screen or a launcher/runtime crash. Try this on Windows: 1. Close the blank ME tab and reboot once, to clear any orphaned Node/ME process. 2. Open **Command Prompt** manually, then run the launcher from ME’s folder instead of double-clicking it: ` ` `bat cd /d "C:\path\to\Marinara-Engine" start.bat ` ` ` Keep that CMD window open and copy any output or error that appears. 3. If the server stays running, open the displayed address in an Incognito/InPrivate window or another browser. A hard refresh and clearing site data for that localhost address can rule out a stale browser bundle/service worker. 4. If the CMD process dies again after about a minute, check Windows Security/antivirus quarantine and Task Manager. The warning only proves that the process ended without its normal shutdown path; it does **not** identify whether Windows, the launcher, or the runtime caused it. For a blank desktop page, the repository’s own UI guidance points desktop users to the **server terminal or browser developer tools**, rather than the in-app console (`packages/client/src/components/panels/SettingsPanel.tsx:1439-1450`). Press `F12`, check **Console** and **Network**, and save the first red error. Please post these details in a support thread if it still fails: ME version, Windows version, installation method, browser, the full CMD output, and the first browser-console error: https://discord.com/channels/1417099416812392641/1472566848104042496 I can make mistakes—I’m still an LLM, so don’t trust my diagnosis blindly. [Discord message: https://discord.com/channels/1417099416812392641/1550433699030372373/1550471095088455726] [2026-09-18T11:49:18.447Z] VNB: Still blank background. and same error message after I did everything you said. The F12 check on the browser gives 20 errors of the same type : "Failed to load module script: for example assets/vendor-icons-x-Bmkx7CCh.js Expected a JavaScript-or-Wasm module script but the server responded with a MIME type of "text/html". Strict MIME type checking is enforced for module scripts per HTML spec." [Discord message: https://discord.com/channels/1417099416812392641/1550433699030372373/1550473792101552159] [2026-09-18T11:51:11.440Z] Professor Mari [bot]: That MIME error is the useful clue. The browser requested a hashed JavaScript bundle, but ME returned an HTML page instead. The old-session warning is probably historical and not the cause of the blank UI; deleting the writer lease will not repair missing or mismatched frontend assets. ME’s server does serve its frontend entry as `text/html` (`packages/server/src/app.ts:295`), so a missing/misdirected asset falling through to that page would produce exactly this browser error. The snippets do not prove whether the cause is stale browser data, an incomplete build, or routing/security software. Try this: 1. Close every ME tab. 2. Clear site data for both `localhost` and `127.0.0.1` on ME’s port. In DevTools, also check **Application → Service Workers** and unregister any worker, then use **Network → Disable cache** and reload. 3. Test the fresh address from `start.bat` in an InPrivate/incognito window or another browser. 4. In F12 **Network**, open one failed `.js` request and report its full **Request URL**, **status code**, **Content-Type**, and the first line of **Response**. If it is `200 text/html` beginning with `<!doctype html>`, that confirms fallback HTML; a `30x` status would instead indicate a redirect. If a different browser still fails, please create a thread at https://discord.com/channels/1417099416812392641/1472566848104042496 and include your ME version, Windows version, installation/update method, browser, complete `start.bat` console output, and those Network details. Don’t delete your data again while diagnosing this particular mess, lmao. I’m still an LLM and can misdiagnose things, so don’t trust my judgment too blindly. [Discord message: https://discord.com/channels/1417099416812392641/1550433699030372373/1550474266028540009] ``` </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 06:03:59 +07:00
Author
Owner

@SpicyMarinara commented on GitHub (Sep 18, 2026):

Implementation owner: @SpicyMarinara (Codex), continuing the staging issue sweep in #6319. I am tracing built-asset serving and launcher validation; the session-shutdown warning alone does not establish the cause.

<!-- gh-comment-id:5730142745 --> @SpicyMarinara commented on GitHub (Sep 18, 2026): Implementation owner: @SpicyMarinara (Codex), continuing the staging issue sweep in #6319. I am tracing built-asset serving and launcher validation; the session-shutdown warning alone does not establish the cause.
Author
Owner

@SpicyMarinara commented on GitHub (Sep 18, 2026):

The incomplete-client-build recovery fix is merged into staging in #6319. Windows, Unix and Termux launchers validate Vite's asset inventory and rebuild incomplete clients. Missing asset requests now return non-cacheable 404s instead of the app HTML. Build-inventory, HTTP-fallback and platform CI checks passed. This reproduces and closes the missing-asset recovery gap; the reporter's exact Windows installation was not available for direct inspection. Recovery guidance is in the English docs and all ten translated packs.

<!-- gh-comment-id:5732815855 --> @SpicyMarinara commented on GitHub (Sep 18, 2026): The incomplete-client-build recovery fix is merged into `staging` in #6319. Windows, Unix and Termux launchers validate Vite's asset inventory and rebuild incomplete clients. Missing asset requests now return non-cacheable 404s instead of the app HTML. Build-inventory, HTTP-fallback and platform CI checks passed. This reproduces and closes the missing-asset recovery gap; the reporter's exact Windows installation was not available for direct inspection. Recovery guidance is in the English docs and all ten translated packs.
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#3528
No description provided.