[Bug]: Nightly won't launch: Cannot find package 'fast-check' (app.asar missing ~40 transitive deps) #3789
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#
- Install T3 Code (Nightly) 0.0.29-nightly.20260708.754 on macOS arm64 (reinstall doesn't help)
- Launch it
Or from a clean checkout of master (03ac1f0cd):
- pnpm install
- node scripts/build-desktop-artifact.ts --platform mac --target dir --arch arm64
- 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 @ 03ac1f0cd)
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.
avocardow(GitHub profile, opens in a new tab) added labelsbug
avocardow(GitHub profile, opens in a new tab) added labelsneeds-triage
For anyone hitting this on macOS arm64: the last good nightly is v0.0.29-nightly.20260707.751, published ~40 min before #3772 merged.
Direct download: T3-Code-0.0.29-nightly.20260707.751-arm64.zip
Verified its app.asar contains
fast-check(and launches fine), unlike the 754 build.Also happen on Fedora 44. Downgrade to 751 for now
exact same issue on ubuntu 26.04
Curious if others can confirm the fix in this PR
juliusmarminge closed this
Updated, it now doesn't show the error but still fails to open just without the error message
Updated, it now doesn't show the error but still fails to open just without the error message
@avocardow @juliusmarminge Same thing for me. It doesn't open, but now with no error message.
I can force a white window to appear if i press "check to update"
Sign in to join this conversation.
Facing same issue