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.

Main program just fails to run

See original GitHub issue

Running tb throws an exception and quits:

/usr/local/lib/node_modules/taskbook/lib/taskbook.js:68
    Object.entries(this._data).forEach(([_, item]) => {
           ^

TypeError: Object.entries is not a function
    at Taskbook._getBoards (/usr/local/lib/node_modules/taskbook/lib/taskbook.js:68:12)
    at Taskbook._groupByBoard (/usr/local/lib/node_modules/taskbook/lib/taskbook.js:238:50)
    at Taskbook.displayByBoard (/usr/local/lib/node_modules/taskbook/lib/taskbook.js:346:32)
    at taskbookCLI (/usr/local/lib/node_modules/taskbook/index.js:60:12)
    at Object.<anonymous> (/usr/local/lib/node_modules/taskbook/cli.js:68:1)
    at Module._compile (module.js:541:32)
    at Object.Module._extensions..js (module.js:550:10)
    at Module.load (module.js:456:32)
    at tryModuleLoad (module.js:415:12)
    at Function.Module._load (module.js:407:3)

To Reproduce

  1. Install via npm install --global taskbook
  2. Run tb

Technical Info

  • OS: MacOS High Sierra
  • Node.js Version: v6.1.0
  • Npm version: 3.8.6
  • Taskbook Version: 0.1.1

Issue Analytics

  • State:closed
  • Created 5 years ago
  • Comments:6 (2 by maintainers)

github_iconTop GitHub Comments

2reactions
astronomersivacommented, Aug 1, 2018

You’ll have to update node…Object.entries is available from node 7 only(and behind that harmony flag in 6.5).

Read more comments on GitHub >

github_iconTop Results From Across the Web

Python program with main() method does not run
If you want the main method to run only when invoked through the script (and not when imported), specify under what __name__ it...
Read more >
How to Resolve could not find or load main class Error in Java?
In this video, we're going to discuss how to resolve the “could not find or load main class” error in Java. Whenever we...
Read more >
Unexplained Windows or software behavior may be caused ...
Describes behavior that may occur if your computer has deceptive software that is installed and running, and describes steps that you can take...
Read more >
Error: Could not find or load main class in Java [Solved]
Error: Could not find or load main class HelloWorld comes when you are trying to run your Java program using java command with...
Read more >
Types of Errors in C - Scaler Topics
In the above code, as we wrote Main() instead of main(), the program generated a linker error. This happens because every file in...
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