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

Error: could not make report. -- TypeError: stripped.split is not a function #138

Open
myrgy opened this issue Nov 19, 2021 · 0 comments
Open

Comments

@myrgy
Copy link

myrgy commented Nov 19, 2021

Hello,

every time I'm trying to generate a report I'm always getting could not make report.

Thank you!

❯ gtt report  "test/project" --closed  --report=issues  --show_without_times
πŸ”  Selected projects: test/
πŸ”  Resolving "test/"... βœ“
πŸ“¦  Fetching issues... βœ“
πŸ“¦  Fetching merge requests... βœ“
πŸ“Ž  Merging reports... βœ“
βš™οΈοΈ  Processing issues... βœ“
βš™οΈοΈοΈ  Processing merge requests... βœ“
πŸ“ƒ  Making report... βœ—
Error: could not make report.

TypeError: stripped.split is not a function
    at Object.exports.strlen (/home/user/.config/yarn/global/node_modules/cli-table/lib/utils.js:85:24)
    at get_width (/home/user/.config/yarn/global/node_modules/cli-table/lib/index.js:138:70)
    at /home/user/.config/yarn/global/node_modules/cli-table/lib/index.js:131:68
    at Array.forEach (<anonymous>)
    at extractColumnWidths (/home/user/.config/yarn/global/node_modules/cli-table/lib/index.js:130:9)
    at /home/user/.config/yarn/global/node_modules/cli-table/lib/index.js:104:11
    at Array.forEach (<anonymous>)
    at Table.toString (/home/user/.config/yarn/global/node_modules/cli-table/lib/index.js:101:16)
    at table.makeIssues (/home/user/.config/yarn/global/node_modules/gitlab-time-tracker/src/output/table.js:46:27)
    at table.make (/home/user/.config/yarn/global/node_modules/gitlab-time-tracker/src/output/base.js:69:18)

OS: Fedora 34

❯ yarn --version
1.22.10
❯ gtt --version
1.7.40
❯ node --version
v14.18.1

UPD:
markdown works fine.
Seems like issue is related only for the table exporter

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant