question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

ReferenceError: gitUsername is not defined

See original GitHub issue

Can’t initiate tiny-care-terminal. I do have a global git username:

$ git config --global user.name                                                                                                                                                                                  
Kevin Van Ransbeeck
  • Node Version: v10.16.3
  • tiny-core-terminal version: tiny-care-terminal@1.7.3 | MIT | deps: 20 | versions: 23
  • Shell: zsh
  • Terminal Program: iterm
  • Operating System: Mac
~ ❯❯❯ tiny-care-terminal
ReferenceError: gitUsername is not defined
    at async.each (/Users/kevinvanransbeeck/.nvm/versions/node/v10.16.3/lib/node_modules/tiny-care-terminal/gitbot.js:62:28)
    at /Users/kevinvanransbeeck/.nvm/versions/node/v10.16.3/lib/node_modules/tiny-care-terminal/node_modules/async/dist/async.js:2159:44
    at eachOfArrayLike (/Users/kevinvanransbeeck/.nvm/versions/node/v10.16.3/lib/node_modules/tiny-care-terminal/node_modules/async/dist/async.js:505:13)
    at eachOf (/Users/kevinvanransbeeck/.nvm/versions/node/v10.16.3/lib/node_modules/tiny-care-terminal/node_modules/async/dist/async.js:556:16)
    at awaitable(eachOf) (/Users/kevinvanransbeeck/.nvm/versions/node/v10.16.3/lib/node_modules/tiny-care-terminal/node_modules/async/dist/async.js:208:32)
    at Object.eachLimit (/Users/kevinvanransbeeck/.nvm/versions/node/v10.16.3/lib/node_modules/tiny-care-terminal/node_modules/async/dist/async.js:2221:16)
    at Object.awaitable(eachLimit) (/Users/kevinvanransbeeck/.nvm/versions/node/v10.16.3/lib/node_modules/tiny-care-terminal/node_modules/async/dist/async.js:208:32)
    at Object.getCommitsFromRepos (/Users/kevinvanransbeeck/.nvm/versions/node/v10.16.3/lib/node_modules/tiny-care-terminal/gitbot.js:61:9)
    at gitbot.findGitRepos (/Users/kevinvanransbeeck/.nvm/versions/node/v10.16.3/lib/node_modules/tiny-care-terminal/care.js:180:12)
    at async.each.err (/Users/kevinvanransbeeck/.nvm/versions/node/v10.16.3/lib/node_modules/tiny-care-terminal/gitbot.js:51:5)
    at wrapper (/Users/kevinvanransbeeck/.nvm/versions/node/v10.16.3/lib/node_modules/tiny-care-terminal/node_modules/async/dist/async.js:273:20)
    at iteratorCallback (/Users/kevinvanransbeeck/.nvm/versions/node/v10.16.3/lib/node_modules/tiny-care-terminal/node_modules/async/dist/async.js:500:17)
    at /Users/kevinvanransbeeck/.nvm/versions/node/v10.16.3/lib/node_modules/tiny-care-terminal/node_modules/async/dist/async.js:326:20
    at wrapper (/Users/kevinvanransbeeck/.nvm/versions/node/v10.16.3/lib/node_modules/tiny-care-terminal/node_modules/async/dist/async.js:273:20)
    at iteratorCallback (/Users/kevinvanransbeeck/.nvm/versions/node/v10.16.3/lib/node_modules/tiny-care-terminal/node_modules/async/dist/async.js:500:17)
    at /Users/kevinvanransbeeck/.nvm/versions/node/v10.16.3/lib/node_modules/tiny-care-terminal/node_modules/async/dist/async.js:326:20

Issue Analytics

  • State:closed
  • Created 4 years ago
  • Reactions:2
  • Comments:8

github_iconTop GitHub Comments

1reaction
mojoaxelcommented, Feb 27, 2020

Please test with the new version 1.7.4.

0reactions
Aloscommented, Feb 27, 2020

Works for me too! Thanks!

Read more comments on GitHub >

github_iconTop Results From Across the Web

Confusing dialog: Git user name is not defined : IDEA-116305
I got the dialog: "git user name is not defined" but the dialog has only two fields: name; email. Now I'm confused. Is...
Read more >
How do I set user.email and user.name in Intellij 14 with GIT ...
Go to your project where git is initialized. Then enable the hidden folders and find " .git " and go inside the folder....
Read more >
Uncaught ReferenceError: git is not defined #190 - GitHub
I ran into this same problem on Windows. In the past I used Git Bash to do all of my Git stuff, which...
Read more >
ReferenceError: "x" is not defined - JavaScript - MDN Web Docs
The JavaScript exception "variable is not defined" occurs when there is a non-existent variable referenced somewhere.
Read more >
Uncaught ReferenceError: user is not defined - Codecademy
Hello, I'm currently building a registration form. I tested it and it gives me the message, "Uncaught ReferenceError: user is not defined" which...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found