Error running forever.js on Windows - “'C:\Program' is not recognized as an internal or external command, operable program or batch file”
See original GitHub issueI am trying to run forever.js
via the Windows command prompt and I get the following output:
>npm i -g forever
/my-project>forever start index.js
Log output:
'C:\Program' is not recognized as an internal or external command, operable program or batch file
I think it’s something to do with the PATH
that forever
is using for the node
binary, but I don’t know how to fix it…
Link to my question on Stack Overflow
Issue Analytics
- State:
- Created 4 years ago
- Reactions:5
- Comments:16 (2 by maintainers)
Top Results From Across the Web
Error running forever.js on Windows - “'C:\Program' is not ...
Error running forever.js on Windows - “'C:\Program' is not recognized as an internal or external command, operable program or batch file”
Read more >2004-September.txt
... with\ a\ space/test.bat 'c:Program' is not recognized as an internal or external command, operable program or batch file. If you enable "set...
Read more >Tango Controls Documentation
C:Program is not recognized as an internal or external command, operable program or batch file. * Check if you don't forget about the ......
Read more >Cprogram is not recognized as an internal or external ...
Jun 16, 2018 · DB2CMD fails with 'C:\Program' is not recognized as an internal or external command, operable program or batch file.
Read more >Nodemodules is not recognized as an internal or external ...
DB2CMD fails with 'C:\ Program ' is not recognized as an internal or external command, operable program or batch file . Cause The...
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
I am having this same problem. If you install version 1.0.0 it works.
I’ve just added a test that tries replicating this issue: https://github.com/foreversd/forever/pull/1068 It works fine both locally (Windows 10) and in CI. If someone could provide a reliable repro for the problem, that would be fantastic.
That said, I’m pretty sure problem is caused by https://github.com/foreversd/forever-monitor/pull/145, but would be great if I could have a reproduction to confirm before doing any changes, that hiding that change behind an option would indeed help.