github / github/copilot-cli

Standalone exe file stopped working

Đang mở
#3,810 0 bình luận 1 reaction 0 người được giao Xem trên GitHub
area:installation area:platform-windows
Ngôn ngữ chính
Shell
Star
11.2k
Fork
1.9k
Merge trung bình
14 giờ 16 phút
Pull request đã merge (30 ngày)
6

Mô tả

### Describe the bug

I'm trying to run the exe from the latest release (1.0.62) and I get this error:
```
Failed to extract bundled package: Error: EPERM: operation not permitted, rename 'C:\Users\username\AppData\Local\copilot\pkg\win32-x64\.extracting-1.0.62-46292-1781510885677' -> 'C:\Users\username\AppData\Local\copilot\pkg\win32-x64\1.0.62'
at async Object.rename (node:internal/fs/promises:785:10)
at async Pr (sea-loader.js:8:54635)
at async $h (sea-loader.js:8:55899)
at async qh (sea-loader.js:10:82) {
errno: -4048,
code: 'EPERM',
syscall: 'rename',
path: 'C:\\Users\\username\\AppData\\Local\\copilot\\pkg\\win32-x64\\.extracting-1.0.62-46292-1781510885677',
dest: 'C:\\Users\\username\\AppData\\Local\\copilot\\pkg\\win32-x64\\1.0.62'
}
```
Problem started probably with 1.0.62
Now if I attempt the update from cli itself I get the same error.

The system is windows server 2019. This is not winget or npm installation, just the standalone exe.

### Affected version

1.0.62

### Steps to reproduce the behavior

_No response_

### Expected behavior

_No response_

### Additional context

Windows NT: 10.0.17763

Hướng dẫn đóng góp

Mở hướng dẫn đóng góp

Đánh giá

Issue này chưa được đánh giá.

Nhận issue mới trong hộp thư của bạn

Bản tóm tắt ngắn những issue GitHub phù hợp với người mới.