Describe the bug
The app crashes immediately on startup, before the editor UI loads. This began after updating from v5.0.5 (which has no Terminal feature and does not crash) to v5.1.24, and persists on 5.2.5 after a clean reinstall.
Reproduction
- Install Phoenix Code 5.1.24 or later on macOS Monterey (Intel).
- Launch the app.
- App crashes immediately with the above error, before the main window appears.
Expected behavior
App should start normally. If Terminal (xterm.js) can't initialize on this OS/architecture combination, it would be ideal if this failed gracefully rather than blocking the whole app from starting.
OS, Browser and Phoenix versions
- Phoenix Code version: 5.2.5 (also reproduced on 5.1.24, a clean reinstall)
- OS: macOS 12 Monterey, Intel
- Install method: DMG from phcode.io
logs or debug stack trace if any
undefined is not an object (evaluating 'xtermModule.Terminal')
@phtauri://localhost/v5.2.5/brackets.js:1:1338124
execCb@phtauri://localhost/v5.2.5/thirdparty/requirejs/require.js:1:23875
check@phtauri://localhost/v5.2.5/thirdparty/requirejs/require.js:1:14639
@phtauri://localhost/v5.2.5/thirdparty/requirejs/require.js:1:18029
@phtauri://localhost/v5.2.5/thirdparty/requirejs/require.js:1:1825
@phtauri://localhost/v5.2.5/thirdparty/requirejs/require.js:1:18613
each@phtauri://localhost/v5.2.5/thirdparty/requirejs/require.js:1:1065
emit@phtauri://localhost/v5.2.5/thirdparty/requirejs/require.js:1:18579
check@phtauri://localhost/v5.2.5/thirdparty/requirejs/require.js:1:15437
enable@phtauri://localhost/v5.2.5/thirdparty/requirejs/require.js:1:18454
init@phtauri://localhost/v5.2.5/thirdparty/requirejs/require.js:1:13665
callGetModule@phtauri://localhost/v5.2.5/thirdparty/requirejs/require.js:1:11953
completeLoad@phtauri://localhost/v5.2.5/thirdparty/requirejs/require.js:1:22924
onScriptLoad@phtauri://localhost/v5.2.5/thirdparty/requirejs/require.js:1:24077
@phtauri://localhost/v5.2.5/thirdparty/bugsnag.min.js:1:31345
Additional context
Reverting to v5.0.5 (pre-Terminal feature) avoids the crash entirely.
Describe the bug
The app crashes immediately on startup, before the editor UI loads. This began after updating from v5.0.5 (which has no Terminal feature and does not crash) to v5.1.24, and persists on 5.2.5 after a clean reinstall.
Reproduction
Expected behavior
App should start normally. If Terminal (xterm.js) can't initialize on this OS/architecture combination, it would be ideal if this failed gracefully rather than blocking the whole app from starting.
OS, Browser and Phoenix versions
logs or debug stack trace if any
undefined is not an object (evaluating 'xtermModule.Terminal') @phtauri://localhost/v5.2.5/brackets.js:1:1338124 execCb@phtauri://localhost/v5.2.5/thirdparty/requirejs/require.js:1:23875 check@phtauri://localhost/v5.2.5/thirdparty/requirejs/require.js:1:14639 @phtauri://localhost/v5.2.5/thirdparty/requirejs/require.js:1:18029 @phtauri://localhost/v5.2.5/thirdparty/requirejs/require.js:1:1825 @phtauri://localhost/v5.2.5/thirdparty/requirejs/require.js:1:18613 each@phtauri://localhost/v5.2.5/thirdparty/requirejs/require.js:1:1065 emit@phtauri://localhost/v5.2.5/thirdparty/requirejs/require.js:1:18579 check@phtauri://localhost/v5.2.5/thirdparty/requirejs/require.js:1:15437 enable@phtauri://localhost/v5.2.5/thirdparty/requirejs/require.js:1:18454 init@phtauri://localhost/v5.2.5/thirdparty/requirejs/require.js:1:13665 callGetModule@phtauri://localhost/v5.2.5/thirdparty/requirejs/require.js:1:11953 completeLoad@phtauri://localhost/v5.2.5/thirdparty/requirejs/require.js:1:22924 onScriptLoad@phtauri://localhost/v5.2.5/thirdparty/requirejs/require.js:1:24077 @phtauri://localhost/v5.2.5/thirdparty/bugsnag.min.js:1:31345Additional context
Reverting to v5.0.5 (pre-Terminal feature) avoids the crash entirely.