Guest PrEdAtOr_IWD Posted July 13, 2016 Report Posted July 13, 2016 So i am new to steam bot making and i am following this quide https://github.com/charredgrass/nodejs-bot-guide, I have to install steamcommunity with npm install and after it run login.js file. I tried to install it globally and think it did, when i need to run the file it says it cannot find it. This is the code from login.js file: var SteamCommunity = require('steamcommunity'); var steam = new SteamCommunity(); var logOnOptions = { 'accountName': "I have put my username here", 'password': "and password here" }; //logs in via browser steam.login(logOnOptions, function(err, sessionID, cookies, steamguard) { if (err) { console.log("There was an error logging in! Error details: " + err.message); process.exit(1); //terminates program } else { console.log("Successfully logged in as " + logOnOptions.accountName); steam.chatLogon(); } }); Quote
Guest PrEdAtOr_IWD Posted July 13, 2016 Report Posted July 13, 2016 This time i didnt install it globally and got the same error... what could be the problem? Quote
Guest PrEdAtOr_IWD Posted July 13, 2016 Report Posted July 13, 2016 Well nevermind, i made it work in the end somehow Quote
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.