Detect electron-prebuilt-compile version through package.json
See original GitHub issueWhy can’t the code in infer.js
’s getVersion
be replaced with the following? This would make it much easier to use a fork of electron-prebuilt-compile
(which is frequently several versions behind the latest electron release).
const electronVersion = require('electron-prebuilt-compile/package.json').version
There’s a comment saying
electron-prebuilt-compile
cannot be resolved becausemain
does not point to a valid JS file.
but I’m not sure what that’s supposed to mean. Applying the above change in a fork of this seems to work fine.
Issue Analytics
- State:
- Created 5 years ago
- Comments:6 (3 by maintainers)
Top Results From Across the Web
electron-prebuilt-compile - npm
Start using electron-prebuilt-compile in your project by running `npm i electron-prebuilt-compile`. There are 3 other projects in the npm ...
Read more >electron-prebuilt-compile - npm package - Snyk
Ensure you're using the healthiest npm packages. Snyk scans all the packages in your projects for vulnerabilities and provides automated fix advice.
Read more >Electron: Cannot find module 'electron-prebuilt' - Stack Overflow
Make sure electron-prebuilt had been added into development dependency in your package.json . You can install module by npm install ...
Read more >electron-prebuilt | Yarn - Package Manager
Install Electron prebuilt binaries for command-line use using npm. This module helps you easily install the electron command for use on the command...
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 >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 FreeTop 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
Top GitHub Comments
FYI, I’ve pinged the maintainer of
electron-prebuilt-compile
and he’s released 3.0.10.I’d rather not. I have an idea which I may get to this weekend.