question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

packager detects 'electron-prebuilt' instead of 'electron' in the package.json

See original GitHub issue

Note 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:closed
  • Created 7 years ago
  • Comments:9 (5 by maintainers)

github_iconTop GitHub Comments

1reaction
maleptcommented, Sep 3, 2016

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
0reactions
maleptcommented, Sep 3, 2016

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).

Read more comments on GitHub >

github_iconTop 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 >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found