I was working lately with electron-forge and I had no problem, after I installed Norton I cannot use electron-forge anymore (with the Windows CMD) and I get the message: "electron-forge" is not recognized as an internal or external command. Can someone please help me solve this issue. Thanks in advance!
Asked
Active
Viewed 4,715 times
2
-
1Possible duplicate of [What is the reason for '...' is not recognized as an internal or external command, operable program or batch file?](https://stackoverflow.com/questions/41454769/what-is-the-reason-for-is-not-recognized-as-an-internal-or-external-comman) – Mofi Oct 04 '17 at 05:38
3 Answers
4
Sorry I can't comment yet :(
Did you install electron-forge with the -g
attribute?

Leonardo Buscemi
- 1,111
- 1
- 15
- 22
1
I already solved the problem, I just had to add to the "path" environment variable the .bin folder inside node_modules folder.

Aldo
- 141
- 2
- 10
1
simply used:-
npm install --save-dev @electron-forge/cli
npx electron-forge import
npm run make

Deepak Singh
- 749
- 4
- 16