richardstweets

Results 4 comments of richardstweets

Hey thanks. but i think i'm doing something wrong. my index file: console.log('Starting'); const Twit = require('twit'); const config = require('./config'); const T = new Twit(config); setInterval(function(){ node tweets.js one...

I seem to get an error again, do i need to remove something from the index file ? Index.js file: console.log('Starting'); const Twit = require('twit'); const config = require('./config'); const...

C:\Users\richa\Documents\TwitBot>node index.js C:\Users\richa\Documents\TwitBot\index.js:9 node tweets.js + ' ' + testTweet ^^^^^^ SyntaxError: Unexpected identifier ←[90m at Object.compileFunction (node:vm:360:18)←[39m ←[90m at wrapSafe (node:internal/modules/cjs/loader:1088:15)←[39m ←[90m at Module._compile (node:internal/modules/cjs/loader:1123:27)←[39m ←[90m at Module._extensions..js (node:internal/modules/cjs/loader:1213:10)←[39m...

Thank man, so should both my files look like this below ? Index.js: console.log('Starting'); const Twit = require('twit'); const config = require('./config'); const T = new Twit(config); const { spawn...