Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

electron error when installed globally with bun #247

Open
7flash opened this issue Nov 3, 2024 · 0 comments
Open

electron error when installed globally with bun #247

7flash opened this issue Nov 3, 2024 · 0 comments

Comments

@7flash
Copy link

7flash commented Nov 3, 2024

to reproduce,

bun install -g terminalizer
terminalizer record demo
/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.<anonymous> (/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)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant