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

Standalone version of devtools not launching on bun #491

Open
rp1231 opened this issue Jun 28, 2024 · 7 comments
Open

Standalone version of devtools not launching on bun #491

rp1231 opened this issue Jun 28, 2024 · 7 comments
Labels
bug Something isn't working standalone app scope: electron upstream Related to an upstream issue

Comments

@rp1231
Copy link

rp1231 commented Jun 28, 2024

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.

@Lootjs
Copy link
Contributor

Lootjs commented Jun 28, 2024

Have you tried npm -g remove electron ?

@rp1231
Copy link
Author

rp1231 commented Jun 28, 2024

@Lootjs That didn't help

@rp1231
Copy link
Author

rp1231 commented Jun 28, 2024

I had installed it using bun.
But I deleted the bun version and installed the npm version and now it works.
So maybe the problem was just with the bun version.

@Lootjs
Copy link
Contributor

Lootjs commented Jun 28, 2024

Great! Maybe you could make a PR and mention the solution in https://github.com/vuejs/devtools-next/blob/main/docs/help/troubleshooting.md. What do you think?

@rp1231
Copy link
Author

rp1231 commented Jun 28, 2024

It's not really a solution though, the problem still exists in the bun package for me.

@alexzhang1030 alexzhang1030 added the need feedback need feedback from community label Jul 1, 2024
@alexzhang1030
Copy link
Member

Let's track if someone else reports this issue.

@alexzhang1030 alexzhang1030 added need more feedback Might be a issue, but need more feedback and removed need feedback need feedback from community labels Jul 1, 2024
@alexzhang1030 alexzhang1030 changed the title Standalone version of Vuetools not launching Standalone version of devtools not launching on bun Jul 23, 2024
@alexzhang1030 alexzhang1030 added bug Something isn't working standalone app scope: electron and removed need more feedback Might be a issue, but need more feedback labels Jul 23, 2024
@alexzhang1030
Copy link
Member

oven-sh/bun#1588, looks like an upstream issue

@alexzhang1030 alexzhang1030 added the upstream Related to an upstream issue label Jul 23, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working standalone app scope: electron upstream Related to an upstream issue
Projects
None yet
Development

No branches or pull requests

3 participants