Siezek Posted July 19, 2019 Report Posted July 19, 2019 HelloI wrote a bot, I put it on hosting and when I turn on the bot I have this error.How to fix it? Quote
Siezek1 Posted July 21, 2019 Report Posted July 21, 2019 Hi, I did as you asked and did not work out, this is my logssteambot123-console-1563725456224.txtsteambot123-console-1563725562373.txtsteambot123-console-1563728421221.txt Quote
Dr. McKay Posted July 22, 2019 Report Posted July 22, 2019 You didn't install to the right place. Quote
Siezek1 Posted July 22, 2019 Report Posted July 22, 2019 Where should I install it? I already installed it once before putting it on hosting Quote
Dr. McKay Posted July 22, 2019 Report Posted July 22, 2019 You need to run npm install in the folder where your bot code is located. If you didn't add steam-user to your package.json, then you'll need to use npm install steam-user. Quote
Siezek1 Posted July 22, 2019 Report Posted July 22, 2019 Look, this is my bot. I just deleted the config.json file so that no one would see my login and passwordbotsteam1-master.zip Quote
Dr. McKay Posted July 22, 2019 Report Posted July 22, 2019 Your package.json is malformed. It looks like you just glued package-lock.json and package.json together. Don't do that. Get rid of the second dependencies section. Quote
Siezek1 Posted July 23, 2019 Report Posted July 23, 2019 So I have to change this package.json to package-lock.json and create package.json separately? How would you help me do the package.json? Quote
Siezek1 Posted July 23, 2019 Report Posted July 23, 2019 OK, thank you works, I downloaded any package.json and the bot works. Thank you for your help 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.