Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- const SteamUser = require('steam-user');
- const client = new SteamUser();
- const config = require('./config.json');
- const logOnOptions = {
- accountName: config.username,
- password: config.password
- };
- client.logOn(logOnOptions);
- client.on('loggedOn', () => {
- console.log('Succesfully logged on.');
- });
- module.js:471
- throw err;
- ^
- Error: Cannot find module 'C:UsersNameDesktopbotbot.js'
- at Function.Module._resolveFilename (module.js:469:15)
- at Function.Module._load (module.js:417:25)
- at Module.runMain (module.js:604:10)
- at run (bootstrap_node.js:389:7)
- at startup (bootstrap_node.js:149:9)
- at bootstrap_node.js:504:3
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement