GV

GeezerVison

The World Wide Web, restored to 800 pixels of glory.

Home|About|Gaming cabinet|Archives|How it works|Starter sites

On this site

  • Sign in
  • ActionsCI/CD and automation
  • CodespacesCloud development environments
  • All Features
  • Documentation
  • Training
  • Certifications
  • Build with Copilot
  • Customize Copilot
  • Integrations
  • Trending repos
  • GitHub Sponsors
  • Developer articles
  • Enterprises

This view

  • Original page
  • New address

GeezerVison is showing github.com — Nightly 0.0.29-nightly.20260719.849 won't launch on Windows: effect missing from app.asar.unpacked (ERR_MODULE_NOT_FOUND Context) · Issue #4154 · pingdotgg/t3code

Nightly 0.0.29-nightly.20260719.849 won't launch on Windows: effect missing from app.asar.unpacked (ERR_MODULE_NOT_FOUND Context) #4154

New issue
Copy link
New issue
Copy link
Closed
Closed
Nightly 0.0.29-nightly.20260719.849 won't launch on Windows: effect missing from app.asar.unpacked (ERR_MODULE_NOT_FOUND Context)#4154
Copy link
Labels
bugSomething is broken or behaving incorrectly.🚧 In Progress

Description

@MasjidSayyidAlKawnayn
MasjidSayyidAlKawnayn
opened on Jul 19, 2026
Issue body actions

Summary

Windows Nightly 0.0.29-nightly.20260719.849 crashes on launch with a main-process ERR_MODULE_NOT_FOUND for effect/Context, imported from @effect/platform-node's NodeHttpClient.js.

This looks like a packaging regression: effect (and related deps) are listed in the asar index as unpacked files, but are not present under resources/app.asar.unpacked/node_modules/.

Area

Build, CI, or release tooling / Desktop packaging

Steps to reproduce

  1. Install T3 Code Nightly 0.0.29-nightly.20260719.849 on Windows x64 (T3-Code-0.0.29-nightly.20260719.849-x64.exe)
  2. Launch T3 Code (Nightly)

Expected behavior

App launches normally.

Actual behavior

Uncaught exception dialog:

A JavaScript error occurred in the main process

Uncaught Exception:
Error [ERR_MODULE_NOT_FOUND]: Cannot find module '...app.asar\node_modul...\Context'
imported from '...app.asar\...\NodeHttpClient.js'

Stack points at Node ESM resolution (finalizeResolution / moduleResolve).

Investigation notes

On a machine with 849 installed:

  • Import path in packaged code: import * as Context from "effect/Context" from @effect/platform-node/dist/NodeHttpClient.js
  • @effect/platform-node is present under app.asar.unpacked/node_modules/@effect/platform-node
  • effect is missing from app.asar.unpacked/node_modules/effect
  • Extracting node_modules\effect\package.json / dist\Context.js via @electron/asar fails with ENOENT under app.asar.unpacked\... (files marked unpacked but not on disk)
  • Related deps also missing from unpacked in that build: undici, mime (peer/runtime deps of @effect/platform-node)

This is distinct from (but in the same family as) #3789 / #3790 (pnpm 11 deduped deps dropped from asar). Here the failure mode is specifically unpacked index entries with missing unpacked payloads.

Workaround

Rolling back to a prior Nightly works. Confirmed working:

  • 0.0.29-nightly.20260712.791 (local updater cache installer; effect/dist/Context.js present under app.asar.unpacked)

Environment

  • OS: Windows 10/11 (win32 10.0.26200), x64
  • App: T3 Code (Nightly) 0.0.29-nightly.20260719.849
  • Install path: %LocalAppData%\Programs\t3code

Impact

Blocks Nightly launch completely on Windows for this build.

Happy to provide more asar listings / installer hashes if useful.

Activity

  1. juliusmarminge
    added
    🚧 In Progress
    bugSomething is broken or behaving incorrectly.
    on Jul 20, 2026
  2. juliusmarminge commented on Jul 20, 2026

    @juliusmarminge
    juliusmarminge
    on Jul 20, 2026
    Member
    More actions

    PR #4160 has been refreshed without opening a new PR: branch codex/refresh-pr-4160 at commit b8b14378ce. The refresh fixes the unresolved macOS app-bundle Resources path while preserving Windows/Linux paths; 31 focused cross-platform tests pass. Status remains 🚧 In Progress until merge.

  3. haseeb-heaven commented on Jul 31, 2026

    @haseeb-heaven
    haseeb-heaven
    on Jul 31, 2026
    More actions

    Check this #5108 fixed this

  4. t3dotgg commented on Aug 22, 2026

    @t3dotgg
    t3dotgg
    on Aug 22, 2026
    Member
    More actions

    Note

    🤖 GPT-5.6 Sol in Codex responding on behalf of Theo

    Closing as resolved. This report targets one obsolete July 19 nightly. Later Windows packaging supersedes it. Fixed in 7e01d33f0.

  5. t3dotgg
    closed this as completedon Aug 22, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething is broken or behaving incorrectly.🚧 In Progress

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions

      You are visitor 01402775 — GeezerVison does not store the pages you look up.
      Best viewed with Netscape Navigator 4.7 or Internet Explorer 6 at 800×600. No cookies required.