Guest PrEdAtOr_IWD Posted July 13, 2016 Report Share 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 Link to comment Share on other sites More sharing options...
Dr. McKay Posted July 13, 2016 Report Share Posted July 13, 2016 Don't install it globally. Quote Link to comment Share on other sites More sharing options...
Guest PrEdAtOr_IWD Posted July 13, 2016 Report Share Posted July 13, 2016 This time i didnt install it globally and got the same error... what could be the problem? Quote Link to comment Share on other sites More sharing options...
Guest PrEdAtOr_IWD Posted July 13, 2016 Report Share Posted July 13, 2016 Well nevermind, i made it work in the end somehow Quote Link to comment Share on other sites More sharing options...
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.