faressoft / faressoft/terminalizer

electron error when installed globally with bun

Open
#247 0 comments 0 reactions 0 assignees View on GitHub
Dominant language
JavaScript
Stars
16.2k
Forks
520
PR merge metrics
No merged PRs in 30d

Description

to reproduce,

```bash
bun install -g terminalizer
terminalizer record demo
```

```stderr
/Users/gur/.bun/install/global/node_modules/electron/index.js:17
throw new Error('Electron failed to install correctly, please delete node_modules/electron and try installing again');
^

Error: Electron failed to install correctly, please delete node_modules/electron and try installing again
at getElectronPath (/Users/gur/.bun/install/global/node_modules/electron/index.js:17:11)
at Object. (/Users/gur/.bun/install/global/node_modules/electron/index.js:21:18)
at Module._compile (node:internal/modules/cjs/loader:1572:14)
at Object..js (node:internal/modules/cjs/loader:1709:10)
at Module.load (node:internal/modules/cjs/loader:1315:32)
at Function._load (node:internal/modules/cjs/loader:1125:12)
at TracingChannel.traceSync (node:diagnostics_channel:322:14)
at wrapModuleLoad (node:internal/modules/cjs/loader:216:24)
at Module.require (node:internal/modules/cjs/loader:1337:12)
at require (node:internal/modules/helpers:139:16)
```

Contributor guide

No contributing guide indexed for this repository

Research direction

Start by reproducing the global installation with Bun and running `terminalizer record demo`; inspect the Electron failure reported from the global `node_modules/electron/index.js`. Done means the globally installed command launches without the Electron installation error.

Written by the indexing model from the issue text.

Assessment

Tech stack
bun, electron, javascript
Domain
cli, desktop
Issue type
Bug
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
25/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.