Skip to content

@github/copilot-sdk 0.1.32 produces errors on Windows when running the "squad" command #1062

Closed

Description

@poebrand

https://github.com/bradygaster/squad/blob/7490df934cba3facf825239fb9d31ae5bcb5e98b/packages/squad-sdk/package.json#L235

There is an error in @github/copilot-sdk 0.1.32 that is documented at:
github/copilot-sdk#707

It causes the following error when running the squad command:

Error [ERR_MODULE_NOT_FOUND]: Cannot find module
  '.../node_modules/vscode-jsonrpc/node'
  imported from .../node_modules/@github/copilot-sdk/dist/session.js
Did you mean to import "vscode-jsonrpc/node.js"?

I have temporarily added the following to my package.json as a workaround but it would be great if this version were referenced to avoid the issue by default.

  "overrides": {
    "@github/copilot-sdk": "0.3.0"
  }
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

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