Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Main program just fails to run #20

Closed
furqan-shakoor opened this issue Aug 1, 2018 · 6 comments
Closed

Main program just fails to run #20

furqan-shakoor opened this issue Aug 1, 2018 · 6 comments
Labels
bug Something isn't working

Comments

@furqan-shakoor
Copy link

furqan-shakoor commented Aug 1, 2018

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
@diegosouza
Copy link

Same here:

  • Debian 9.5
  • Node v6.2.1
  • Npm 3.9.3
  • Taskbook 0.1.1

@astronomersiva
Copy link
Contributor

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

@furqan-shakoor
Copy link
Author

Upgraded node and its fixed now

@diegosouza
Copy link

@furqan-shakoor that's a quick fix to us, but the software keeps broken.
If it requires Node 7, the package.json should be updated to "node": ">=7" or be fixed to work with Node 6.

@carywreams
Copy link

If taskbook were also packaged as a snap, would that allow taskbook's "node >= 7" condition to co-exist with those of us who have devops requirements of "node < 7" ?

This is a genuine question. I don't know the answer to the question or even whether node apps can be delivered as snaps. Just hoping earnestly because taskbook is very appealing.

@klaudiosinani
Copy link
Owner

Fixed on 3f818d9.

@klaudiosinani klaudiosinani added the bug Something isn't working label Sep 1, 2018
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

6 participants
@diegosouza @carywreams @furqan-shakoor @astronomersiva @klaudiosinani and others