-
Notifications
You must be signed in to change notification settings - Fork 15.3k
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
[Bug]: Installing Electron 19.0.0 via npm returns a 404 error #34336
Comments
Same issue here. |
This appears to be a bug with the npm registry itself, it knows the version was published but can't download the tarball 🤔 |
Same with Yarn 1.x. % yarn add -D electron
error An unexpected error occurred: "https://registry.yarnpkg.com/electron/-/electron-19.0.0.tgz: Request failed \"404 Not Found\"". |
Same here
|
same here, throws error 404 when running npm i electron
|
same here
|
Fixed temporily by adding the following rules to package.json, to lock electron version along all dependency paths: "resolutions": {
"**/electron": "x.y.z" // replace this with current stable electron version
} |
Same for e as well. Calling the GET request URL is returning {"error":"Not found"} |
Same here :, |
Same here. |
yeah……Same here. |
Same here. [Win11/MacOS/Ubuntu20] |
Same issue on MacOS npm install electron --save-dev npm ERR! code E404 |
Same issue on Win11. |
Same here I've tried to rewrite npm config and yarn config, but it still occured. |
Temporary fix: npm install --save-dev electron@18.2.4 |
This is an issue with npm: |
Version 18.3.0 is working fine :) |
its fixed... now it works |
Solved @jooy2 |
NPM appears to have resolved this issue. In the future can we avoid a giant stream of "also broken for me" comments, they don't help especially when as originally commented there was nothing we could do about this particular issue. |
Preflight Checklist
Electron Version
19.0.0
What operating system are you using?
Windows
Operating System Version
Windows 10 21H2
What arch are you using?
x64
Last Known Working Electron version
19.0.0
Expected Behavior
Electron 19.0.0 should be installed normally.
Actual Behavior
I'm getting the below installation problem on the console and the installation doesn't proceed.
How to Reproduce
mkdir test
&&npm init
.npm install electron
Testcase Gist URL
No response
Additional Information
No response
The text was updated successfully, but these errors were encountered: