Skip to content

GitLab

  • Menu
Projects Groups Snippets
    • Loading...
  • Help
    • Help
    • Support
    • Community forum
    • Submit feedback
  • Sign in / Register
  • Twitter-Tip Twitter-Tip
  • Project information
    • Project information
    • Activity
    • Labels
    • Members
  • Repository
    • Repository
    • Files
    • Commits
    • Branches
    • Tags
    • Contributors
    • Graph
    • Compare
    • Locked Files
  • Issues 1
    • Issues 1
    • List
    • Boards
    • Service Desk
    • Milestones
    • Iterations
    • Requirements
  • Merge requests 0
    • Merge requests 0
  • CI/CD
    • CI/CD
    • Pipelines
    • Jobs
    • Schedules
    • Test Cases
  • Deployments
    • Deployments
    • Environments
    • Releases
  • Monitor
    • Monitor
    • Incidents
  • Packages & Registries
    • Packages & Registries
    • Container Registry
  • Analytics
    • Analytics
    • Value stream
    • CI/CD
    • Code review
    • Insights
    • Issue
    • Repository
  • Snippets
    • Snippets
  • Activity
  • Graph
  • Create a new issue
  • Jobs
  • Commits
  • Issue Boards
Collapse sidebar
  • Crown
  • Twitter-TipTwitter-Tip
  • Issues
  • #1

Closed
Open
Created Feb 27, 2018 by Artem B@artemOwner

username undefined error

Created by: tzarebczan

Hey Crowndev, are you still maintaining this tipbot? I set it up as a quick test and ran into this:

Any reason why we shouldn't use this tipbot if we can make it work with some fixes to the Twitter API?

info:    Connected TipBot to Twitter.
/home/ubuntu/Twitter-Tip/twitter.js:60
    if (from == settings.twtter.username.toLowerCase())
                               ^

TypeError: Cannot read property 'username' of undefined
    at null.<anonymous> (/home/ubuntu/Twitter-Tip/twitter.js:60:32)
    at emitOne (events.js:77:13)
    at emit (events.js:169:7)
    at null.<anonymous> (/home/ubuntu/Twitter-Tip/node_modules/twit/lib/streaming-api-connection.js:294:56)
    at emitOne (events.js:77:13)
    at emit (events.js:169:7)
    at Parser.parse (/home/ubuntu/Twitter-Tip/node_modules/twit/lib/parser.js:41:16)
    at IncomingMessage.<anonymous> (/home/ubuntu/Twitter-Tip/node_modules/twit/lib/streaming-api-connection.js:115:19)
    at emitOne (events.js:82:20)
    at IncomingMessage.emit (events.js:169:7)
To upload designs, you'll need to enable LFS and have an admin enable hashed storage. More information
Assignee
Assign to
Time tracking