Skip to content

Unable to update: You have local changes in `/Users/me/.local/share/nvim/lazy/copilot.lua #691

Description

@NeckBeardPrince

I run into this issue every once in a while, and then it will randomly fix itself. I've deleted ~/..local/share/nvim/lazy/copilot.lua and when it re-clones it does the same thing.

  Failed (1)
    ● copilot.lua 78.03ms ✔ build
        You have local changes in `/Users/me/.local/share/nvim/lazy/copilot.lua`:
          * copilot/js/node_modules/@github/copilot/sdk/sharp/node_modules/@emnapi/runtime/dist/emnapi.iife.js
          * copilot/js/node_modules/@github/copilot/sdk/sharp/node_modules/@emnapi/runtime/dist/emnapi.js
        Please remove them to update.
        You can also press `x` to remove the plugin and then `I` to install it again.
        copilot/js/node_modules/@github/copilot/sdk/sharp/node_modules/@emnapi/runtime/dist/emnapi.iife.js
        copilot/js/node_modules/@github/copilot/sdk/sharp/node_modules/@emnapi/runtime/dist/emnapi.js
        You have local changes in `/Users/me/.local/share/nvim/lazy/copilot.lua`:
          * copilot/js/node_modules/@github/copilot/sdk/sharp/node_modules/@emnapi/runtime/dist/emnapi.iife.js
          * copilot/js/node_modules/@github/copilot/sdk/sharp/node_modules/@emnapi/runtime/dist/emnapi.js
        Please remove them to update.
        You can also press `x` to remove the plugin and then `I` to install it again.

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