Related Pull Request
This bug is fixed by juliusmarminge's pull request #1616 as vp pack indirectly uses tsdown 0.21.7:
irm https://vite.plus/ps1 | iex # re-open terminal so vp in PATH
git fetch upstream pull/1616/merge:pull/1616
git switch pull/1616
vp install
node apps/desktop/node_modules/electron/install.js # needed if electron has incomplete installation
vp run dev:desktop
Before submitting
Area
apps/desktop
Steps to reproduce
- On Windows, run:
bun dev:desktop
Expected behavior
The 'T3 Code (Dev)' Window appears and bun dev:desktop succeeds.
bun dev:desktop
# ...
@t3tools/desktop:dev: dev:electron | [16:54:14.043] INFO (#129): Listening on http://0.0.0.0:13773
Actual behavior
The 'T3 Code (Dev)' Window does not appear, and bun dev:desktop exits with the error:
bun dev:desktop
# ...
@t3tools/desktop:dev: dev:electron | error: Timed out waiting for desktop dev resources after 120000ms: file:dist-electron/main.js, file:dist-electron/preload.js
@t3tools/desktop:dev: dev:electron | at waitForResources (C:\Users\adam\code\t3code\apps\desktop\scripts\wait-for-resources.mjs:112:17)
@t3tools/desktop:dev: dev:electron |
@t3tools/desktop:dev: dev:electron | Bun v1.3.11 (Windows x64 baseline)
@t3tools/desktop:dev: dev:electron | Exited with code 1
@t3tools/desktop:dev: dev:bundle | Signaled: SIGINT
@t3tools/desktop:dev: error: script "dev" exited with code 130
# ...
error: script "dev:desktop" exited with code 1
Impact
Minor bug or occasional failure
Version or commit
main @ 7a0084
Environment
Windows 10 Pro (22H2)
Workaround
- Update tsdown version in
package.json:
- Run:
bun install
- Run:
bun dev:desktop
Related Pull Request
This bug is fixed by juliusmarminge's pull request #1616 as
vp packindirectly usestsdown0.21.7:Before submitting
Area
apps/desktop
Steps to reproduce
bun dev:desktopExpected behavior
The 'T3 Code (Dev)' Window appears and
bun dev:desktopsucceeds.Actual behavior
The 'T3 Code (Dev)' Window does not appear, and
bun dev:desktopexits with the error:Impact
Minor bug or occasional failure
Version or commit
main @ 7a0084
Environment
Windows 10 Pro (22H2)
Workaround
package.json:bun installbun dev:desktop