Skip to content

Copilot 1.0.46 CLI has blocker issue #3287

@npechett-wtg

Description

@npechett-wtg

Describe the bug

Copilot 1.0.46 has blocker issue. On opening copilot and typign any msg

✗ Failed to persist session events: Error: Cannot find native binding. npm has a bug related to optional dependencies (npm/cli#4828). Please try npm i again after removing both package-lock.json and node_modules directory.

✗ Failed to persist session events: Error: Cannot find native binding. npm has a bug related to optional dependencies (npm/cli#4828). Please try npm i again after removing both package-lock.json and node_modules directory.

● Response was interrupted due to a server error. Retrying...

● Response was interrupted due to a server error. Retrying...

Affected version

1.0.46

Steps to reproduce the behavior

Just upgrade in copilot CLI

This once happens wont work in any copilot version.

Workaround is to uninstall compeletely and downgrade to 1.0.45 and then create new custom .copilot and .cache folder. And point copilot to use these.

XDG_CACHE_HOME="$HOME/.cache_copilot_test"
COPILOT_HOME="$HOME/.copilot_npm_fresh"
copilot --no-auto-update --banner

Expected behavior

No response

Additional context

No response

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No fields configured for Bug.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions