Skip to content

Uncaught Exception: TypeError: rows.at is not a function #2

@AmirDavoodi

Description

@AmirDavoodi

I followed the installation process for CodeTree v1.0.1, but unfortunately, I'm encountering a runtime exception when trying to run it. Here are the details:

Environment:

  • Node.js version: v16.5.0

CodeTree Configuration:

{
  "output": {
    "filePath": "codetree.txt",
    "style": "plain",
    "showLineNumbers": false,
    "removeComments": false,
    "removeEmptyLines": false,
    "topFilesLength": 5,
    "copyToClipboard": false,
    "headerText": "",
    "instructionFilePath": ""
  },
  "include": ["**/*"],
  "ignore": {
    "useGitignore": true,
    "useDefaultPatterns": true,
    "customPatterns": []
  }
}

Error Message:

(venv) ➜  code git:(dev) ✗ codetree

🌳 CodeTree v1.0.1

Uncaught Exception: TypeError: rows.at is not a function
    at exec (file:///usr/local/lib/node_modules/@mimalef70/codetree/node_modules/wrap-ansi/index.js:120:36)
    at file:///usr/local/lib/node_modules/@mimalef70/codetree/node_modules/wrap-ansi/index.js:220:16
    at Array.map (<anonymous>)
    at wrapAnsi (file:///usr/local/lib/node_modules/@mimalef70/codetree/node_modules/wrap-ansi/index.js:220:4)
    at render (file:///usr/local/lib/node_modules/@mimalef70/codetree/node_modules/log-update/index.js:44:12)
    at Timeout._onTimeout (file:///usr/local/lib/node_modules/@mimalef70/codetree/lib/cli/cliSpinner.js:17:13)
    at listOnTimeout (node:internal/timers:557:17)
    at processTimers (node:internal/timers:500:7)

I've tried to provide as much information as possible to help you diagnose the issue. If you need any further details, please let me know!

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions