-
Notifications
You must be signed in to change notification settings - Fork 13
Description
Hi, I had an issue with the program not running and I am not the brightest when it come to programming or coding.
So firstly I did tried to download both the nvm and node.js and node.js seem to be running at version 22.x.x something. Then I installed npm install -g steam-hour-farmer in cmd prompt. After that I made a folder called "Farm" just to stored this .env file (I did name it ".env" ) then inside the file I wrote
{
ACCOUNT_NAME="my_steam_username"
PASSWORD="my_steam_password"
GAMES="game-id"
}
Finally I type:
"steam-hour-farmer" and it responded
C:\Users\USER\Desktop\package\Farm>steam-hour-farmer
Documentation: https://github.com/tacheometry/steam-hour-farmer
Environment variable "ACCOUNT_NAME" should be provided, but it is undefined.
so I check the issue to see how others that has the same issue with mine and I came up with conclusion to try running using pm2 to run it. So I did npm install pm2 -g command and then go to my directory and do "pm2 start steam-hour-farmer"
and it seem to show status: stopped
So I looks at other who had the same issue as I do. Eventually I disable to steam guard and it still displayed the same error as before.
C:\Users\USER\Desktop\package\Farm>pm2 start steam-hour-farmer
[PM2] Applying action restartProcessId on app [steam-hour-farmer](ids: [ 0 ])
[PM2] steam-hour-farmer ✓
[PM2] Process successfully started
┌────┬────────────────────┬──────────┬──────┬───────────┬──────────┬──────────┐
│ id │ name │ mode │ ↺ │ status │ cpu │ memory │
├────┼────────────────────┼──────────┼──────┼───────────┼──────────┼──────────┤
│ 0 │ steam-hour-farmer │ fork │ 61 │ stopped │ 0% │ 0b │
└────┴────────────────────┴──────────┴──────┴───────────┴──────────┴──────────┘
here is what my folder looks like after thaat:
