packager detects 'electron-prebuilt' instead of 'electron' in the package.json
See original GitHub issueNote As of version 1.3.1, this package is published to npm under two names: electron and electron-prebuilt. You can currently use either name, but electron is recommended, as the electron-prebuilt name is deprecated, and will only be published until the end of 2016.
But packager currently detects ‘electron-prebuilt’ not ‘electron’ in the package.json.
Installed packager with npm install electron-packager -g
.
Issue Analytics
- State:
- Created 7 years ago
- Comments:9 (5 by maintainers)
Top Results From Across the Web
Electron-packager missing module 'electron-prebuilt'
As of version 1.3.1, this package is published to npm under two names: electron and electron-prebuilt. You can currently use either name, but...
Read more >npm install electron
This package is an indispensable part of nearly every Electron project. When installed, it detects your operating system and downloads a ...
Read more >Common Configuration - electron-builder
in the package.json file of your project using the build key on the top level: "build": { "appId": "com.example.app" } · or through...
Read more >Userland Package Dependencies | Electron - GitHub Pages
electron -prebuilt Install prebuilt electron binaries for the command-line using npm electron ; glslify A node.js-style module system for GLSL! ecosystem:stackgl ...
Read more >electron-packager - NPM Package Overview - Socket - Socket.dev
Note that packaged Electron applications can be relatively large. A zipped, minimal Electron application is approximately the same size as the zipped prebuilt...
Read more >
Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free
Top Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
I find it highly odd that you’re not getting any debug output. Could you please run the following commands, and paste the output of each?
npm list electron-packager
npm list -g electron-packager
I’ve never liked the fact that
--version
doesn’t give the electron-packager version. I think in a future major version I’m going to change it so it’s more like other command line tools (I’ve reopened #154 as a result).