vuejs / vuejs/devtools

Standalone version of devtools not launching on bun

Open
#491 7 comments 2 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

bug standalone app upstream
Dominant language
TypeScript
Stars
2.9k
Forks
279
PR merge metrics
No merged PRs in 30d

Description

I get this error:

Error: Electron failed to install correctly, please delete node_modules/electron and try installing again
    at getElectronPath (C:\Users\lenovo\.bun\install\global\node_modules\electron\index.js:17:11)
    at Object.<anonymous> (C:\Users\lenovo\.bun\install\global\node_modules\electron\index.js:21:18)
    at Module._compile (node:internal/modules/cjs/loader:1460:14)
    at Module._extensions..js (node:internal/modules/cjs/loader:1544:10)
    at Module.load (node:internal/modules/cjs/loader:1275:32)
    at Module._load (node:internal/modules/cjs/loader:1091:12)
    at wrapModuleLoad (node:internal/modules/cjs/loader:212:19)
    at cjsLoader (node:internal/modules/esm/translators:318:5)
    at ModuleWrap.<anonymous> (node:internal/modules/esm/translators:258:7)
    at ModuleJob.run (node:internal/modules/esm/module_job:262:25)

I tried deleting hte entire node_modules directory and reinstalling, but it's not working.

Contributor guide

No contributing guide indexed for this repository

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Start by reproducing the standalone devtools launch on Bun using the reported Windows error, then inspect the Electron installation path shown in the stack trace. Determine why Electron is unavailable after reinstalling node_modules; done means the standalone version launches successfully under Bun.

Written by the indexing model from the issue text.

Assessment

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

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.