Jump to content
McKay Development

Recommended Posts

Posted

Hello everyone, previously i made few steam bots without having any issue but this time whenever i try to run the bot with node then i get this error :


/home/bot/node_modules/steamcommunity/node_modules/steam-totp/nod[email protected]<script data-cfhash='f9e31' type="text/javascript">/* */</script>/stats-reporter/index.js:9

let g_StartupTimestamp = Math.floor(Date.now() / 1000);

    ^^^^^^^^^^^^^^^^^^

SyntaxError: Unexpected identifier

    at exports.runInThisContext (vm.js:73:16)

    at Module._compile (module.js:443:25)

    at Object.Module._extensions..js (module.js:478:10)

    at Module.load (module.js:355:32)

    at Function.Module._load (module.js:310:12)

    at Module.require (module.js:365:17)

    at require (module.js:384:17)

    at Object.<anonymous> (/home/bot/node_modules/steamcommunity/node_modules/steam-totp/index.js:1:63)

    at Module._compile (module.js:460:26)

    at Object.Module._extensions..js (module.js:478:10)

 

 

can anyone please help me ? thank you

Posted

node v0.12.18 

 

problem is with the version i think. im running it on Debian 7.11 x64 bit server. so do i need to install version 0.10 to fix it ? 

Posted (edited)

im able to install v0.10 but version 6 im just not able to install. it remains version 10 only. can you please get me the command to downgrade it please ?

 

 

 

 

or can you tell me a way to compress my previous bot node_modules folder from filezilla and i can replace it with new one ? i tried few compressing method from google but it didnt work.

Edited by Meow

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.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

Loading...
×
×
  • Create New...