electron: [Bug]: Installing Electron 19.0.0 via npm returns a 404 error
Preflight Checklist
- I have read the Contributing Guidelines for this project.
- I agree to follow the Code of Conduct that this project adheres to.
- I have searched the issue tracker for a bug report that matches the one I want to file, without success.
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.
$ npm i electron
npm ERR! code E404
npm ERR! 404 Not Found - GET https://registry.npmjs.org/electron/-/electron-19.0.0.tgz - Not found
npm ERR! 404
npm ERR! 404 'electron@https://registry.npmjs.org/electron/-/electron-19.0.0.tgz' is not in this registry.
npm ERR! 404
npm ERR! 404 Note that you can also install from a
npm ERR! 404 tarball, folder, http url, or git url.
npm ERR! A complete log of this run can be found in:
npm ERR! C:\Users\user\AppData\Local\npm-cache\_logs\2022-05-24T00_06_18_595Z-debug-0.log
How to Reproduce
mkdir test
&&npm init
.npm install electron
Testcase Gist URL
No response
Additional Information
No response
About this issue
- Original URL
- State: closed
- Created 2 years ago
- Reactions: 10
- Comments: 24 (3 by maintainers)
This is an issue with npm: https://status.npmjs.org/incidents/4zkt80fxq1nb
Temporary fix:
Version 18.3.0 is working fine 😃
Same with Yarn 1.x.