Skip to content

[Bug]: Nightly won't launch: Cannot find package 'fast-check' (app.asar missing ~40 transitive deps) #3789

Description

@avocardow

Before submitting

  • I searched existing issues and did not find a duplicate.
  • I included enough detail to reproduce or investigate the problem.

Area

Build, CI, or release tooling

Steps to reproduce

  1. Install T3 Code (Nightly) 0.0.29-nightly.20260708.754 on macOS arm64 (reinstall doesn't help)
  2. Launch it

Or from a clean checkout of master (03ac1f0):

  1. pnpm install
  2. node scripts/build-desktop-artifact.ts --platform mac --target dir --arch arm64
  3. npx @electron/asar list "<built .app>/Contents/Resources/app.asar" | grep fast-check -> nothing

Expected behavior

App launches. Built asar contains every transitive prod dep.

Actual behavior

Uncaught exception dialog on launch, window never opens. Opened the asar - 44 declared prod deps are missing from node_modules (ms, ws, which, scheduler, msgpackr, conf, uuid, ini, find-my-way-ts, the hast-util/shiki tree, etc).

Impact

Blocks work completely

Version or commit

0.0.29-nightly.20260708.754 (master @ 03ac1f0)

Environment

macOS 26.5 arm64, Node 24.18.0, pnpm 11.10.0

Logs or stack traces

Uncaught Exception:
Error [ERR_MODULE_NOT_FOUND]: Cannot find package 'fast-check' imported from /Applications/T3 Code (Nightly).app/Contents/Resources/app.asar/node_modules/effect/dist/testing/FastCheck.js
    at Object.getPackageJSONURL (node:internal/modules/package_json_reader:301:9)
    at packageResolve (node:internal/modules/esm/resolve:776:81)
    at moduleResolve (node:internal/modules/esm/resolve:867:18)
    at defaultResolve (node:internal/modules/esm/resolve:1000:11)

Screenshots, recordings, or supporting files

No response

Workaround

Roll back to a nightly built before #3772.

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething is broken or behaving incorrectly.needs-triageIssue needs maintainer review and initial categorization.

    Type

    No type

    Fields

    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions