electron-builder: command not found
See original GitHub issue- Version: 20.19.2
- Target:
dmg
,mac
,win
,linux
When I run this command electron-builder
, it shows me this error.
Issue Analytics
- State:
- Created 4 years ago
- Reactions:3
- Comments:5 (1 by maintainers)
Top Results From Across the Web
sh: electron-builder: command not found · Issue #5410
8.1 -> v22.9.1, which caused the electron-builder runner missing in the node_modules/.bin directory after a clean yarn install (whereby ...
Read more >Build not found error when trying to create an installer for ...
I am trying to create a window installer for my electron app (so that it can be run on any windows ...
Read more >electron-builder
A complete solution to package and build a ready for distribution Electron app for MacOS, Windows and Linux with “auto update” support out ......
Read more >Command Line Interface (CLI)
Command Line Interface (CLI) ... Defaults to current working directory. ... Prepend npx to sample commands below if you run it from Terminal...
Read more >Build Instructions (Windows) | Electron
node-gyp is not recognized as an internal or external command ... You may get this error if you are using Git Bash for...
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
Hey guys, I have the module installed locally, in my node_modules, but somehow still get the above error.
This is in version
21.2.0
if electron builder.We’re also getting this error (
Command "electron-builder" not found
) when trying to run electron-builder from within apackage.json
script ("electron:win-build": "yarn build:prod && electron-builder build --win --ia32"
). Installing electron-builder globally in our case is NOT an acceptable solution (using CI infrastrukture). In particular, the electron-builder docs recommends installing the package locally (using yarn, see https://www.electron.build/#installation), providing the “runner” in thenode_modules/.bin
directory, which is searched for by yarn (and npm?) automatically. In my case, this problem occured on a win agent (with yarn v1.22.5) and after upgrading electron-builder from v22.8.1 -> v22.9.1, which caused theelectron-builder
runner missing in thenode_modules/.bin
directory after a cleanyarn install
(whereby I cannot exclude that the runner existing until then was an artifact of a previous update/install). Any help on this is very much appreciated.