I simply followed the getting started with nodejs tutorial from Heroku. https://devcenter.heroku.com/articles/getting-started-with-nodejs#declare-process-types-with-procfile
But I get an error at the part "declare process types with procfile" My problem is that my cmd (using windows 7) didn't find the command "foreman"
Any solutions ? I downloaded/installed the heroku toolbelt, the login works fine, but foreman dont
I had the same problem on Windows7 64-bit, using git's bash. Here's what I did:
C:\Heroku
(see known issue for more info)C:\Program Files (x86)\git\bin;C:\Heroku\ruby-1.9.2\bin
to the system PATH variable: Control Panel, System, Advanced system settings, Environment Variables..., System variables, Variable Path
, Edit... (Change ruby-1.9.2
if a future version of the toolbelt includes a newer version of Ruby.)$ gem uninstall foreman
$ gem install foreman -v 0.61
Now foreman worked for me:$ foreman start
You can do this without uninstall/reinstall:
C:\Program Files (x86)\Heroku\ruby-x.x.x\bin
to system path (assuming that you installed heroku toolbelt in this directory).foreman start
.Foreman finished support for Windows. You can use forego
instead. It is a foreman implementation in GO lang.
https://github.com/ddollar/forego
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