electron-packager is not recognized as a cmdlet name (Windows)
See original GitHub issueI installed electron-packager, but I can not use it:
The term 'electron-packager' is not recognized as a cmdlet name......
Issue Analytics
- State:
- Created 7 years ago
- Comments:19 (5 by maintainers)
Top Results From Across the Web
'electron-packager' is not recognized as an internal or external ...
You've to install electron-packager globally, that's why it shows 'electron-packager' is not recognized as an internal or external command.
Read more >electron-packager - npm
Electron Packager. Package your Electron app into OS-specific bundles ( .app , .exe , etc.) via JavaScript or the command line.
Read more >'electron' is not recognized as an internal or external command
You can resolve this issue in three ways: First, use the full path of the executable file to launch the program. Second, add...
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 >electron-builder
Two package.json structure is supported, but you are not forced to use it even ... Docker images to build Electron app for Linux...
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
Install electron and electron-packager globally:
This will install electron 1.4.15 and electron-packager 8.5.1 into your user folder, not in project folder:
or it can be some
Documents and Settings
, anyway you dont have to bother about this folder and touch anything there.Delete if present
node_modules
folder in your project folder. go in cmd. exe to your project folder:Dont use PS, use cmd.exe
npm install electron-packager -g npm install electron-packager --save-dev
Install both locally as well as globally will solve the issue