Advertisement
Guest User

Untitled

a guest
Jul 2nd, 2017
74
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.62 KB | None | 0 0
  1. const SteamUser = require('steam-user');
  2. const client = new SteamUser();
  3. const config = require('./config.json');
  4.  
  5. const logOnOptions = {
  6. accountName: config.username,
  7. password: config.password
  8. };
  9.  
  10. client.logOn(logOnOptions);
  11.  
  12. client.on('loggedOn', () => {
  13. console.log('Succesfully logged on.');
  14. });
  15.  
  16. module.js:471
  17. throw err;
  18. ^
  19.  
  20. Error: Cannot find module 'C:UsersNameDesktopbotbot.js'
  21. at Function.Module._resolveFilename (module.js:469:15)
  22. at Function.Module._load (module.js:417:25)
  23. at Module.runMain (module.js:604:10)
  24. at run (bootstrap_node.js:389:7)
  25. at startup (bootstrap_node.js:149:9)
  26. at bootstrap_node.js:504:3
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement