Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

'foreman' is not recognized as an interal or external command

I am trying to get started with Node.js on Windows.

All went good on localhost, so I decided to try heroku for hosting my app.

I followed this tutorial and everything goes well until the foreman start part, saying that

'foreman' is not recognized as an internal or external command, operable program or batch file.

I have tried installing/uninstalling foreman using npm, but nothing changed.

I would appreciate any help as I have been stuck on this since yesterday

like image 911
XCS Avatar asked Nov 10 '13 20:11

XCS


People also ask

What is not recognized as an internal or external command?

If you meet the error “command is not recognized as an internal or external command, operable program or batch file” problem in Command Prompt in Windows 10, the reason may be that the Windows Environment Variables are messed up.


2 Answers

apparently "foreman start" is no longer in use. Instead you can go to the root directory of you application and type "heroku local web" to build the app locally. For more info you can take a look at their documentation here.

like image 90
Benjamin Avatar answered Sep 22 '22 22:09

Benjamin


Foreman comes with the Heroku toolbelt - see http://toolbelt.heroku.com

like image 33
John Beynon Avatar answered Sep 18 '22 22:09

John Beynon