Skip to content

unable to use plugin-ast-grep #1697

Closed
Closed
@akhiliyengar

Description

@akhiliyengar

Hi, I am using the dev branch specifically to use plugin-ast-grep and I am getting the following error while I run /workspaces/genaiscript/packages/sample/genaisrc/docify.genai.mts

script create +0ms script api: ToolDefinition +1s Cannot read properties of undefined (reading 'findFiles') TypeError: Cannot read properties of undefined (reading 'findFiles') at astGrepFindFiles (file:///workspaces/genaiscript/packages/plugin-ast-grep/dist/esm/astgrep.js?tsx-namespace=1751395296915:81:28) at Object.search (file:///workspaces/genaiscript/packages/plugin-ast-grep/dist/esm/astgrep.js?tsx-namespace=1751395296915:275:53) at file:///workspaces/genaiscript/packages/sample/genaisrc/docify.genai.mts?tsx-namespace=1751395296915:1:327 genaiscript: error output: /workspaces/genaiscript/.genaiscript/runs/docify/2025-07-01T18-41-34-197Z-u3VY4YZH0WzDeZ30yLmO-/readme.md Cannot read properties of undefined (reading 'findFiles')

How can i resolve this ?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions