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

Can't install due to electron dependency #570

Open
spevilgenius opened this issue Aug 18, 2024 · 5 comments
Open

Can't install due to electron dependency #570

spevilgenius opened this issue Aug 18, 2024 · 5 comments
Labels
usage Usage issue/question

Comments

@spevilgenius
Copy link

No matter what method I use to install, I receive an error when it tries to install the electron dependency. "RequestError: read ECONNRESET"

I was successful in loading the vite plugin but I don't think I can use that in my current situation as I have to test in production, so I am trying to install the global stand-alone version and both return the same error

@alexzhang1030
Copy link
Member

alexzhang1030 commented Aug 20, 2024

Hi, you can use an electron mirror like the docs says.

E.g. ELECTRON_MIRROR="https://your-mirror.com/ npm install @vue/devtools -g

@alexzhang1030 alexzhang1030 added the usage Usage issue/question label Aug 20, 2024
@spevilgenius
Copy link
Author

Unfortunately this does not work for me. I also tried setting the registry to http version and proxy as well to no avail. It is only electron that fails so far. All other npm installs work fine.

@alexzhang1030
Copy link
Member

alexzhang1030 commented Aug 20, 2024

If you are using pnpm, you can try pnpm config set ELECTRON_MIRROR https://your-custom-mirror.com/

@webfansplz
Copy link
Member

Hi, if your goal is to be able to use devtools in production, you can try using the browser extension, It's easier to use.

Usage: https://devtools-next.vuejs.org/guide/browser-extension

@spevilgenius
Copy link
Author

spevilgenius commented Aug 20, 2024

@webfansplz This is what I really wanted to do but we are not allowed to add extensions where I work. Looks like I will have to ask for a change request![at work]

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
usage Usage issue/question
Projects
None yet
Development

No branches or pull requests

3 participants