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
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.
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.
Foreman comes with the Heroku toolbelt - see http://toolbelt.heroku.com
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With