Main program just fails to run
See original GitHub issueRunning 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
- Install via
npm install --global taskbook
- 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:
- Created 5 years ago
- Comments:6 (2 by maintainers)
Top 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 >
Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free
Top Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
You’ll have to update node…Object.entries is available from node 7 only(and behind that harmony flag in 6.5).
Fixed on https://github.com/klauscfhq/taskbook/commit/3f818d913a504e389cb3d2d53b7b622c2f1da5cd.