github / github/copilot-cli

Standalone exe file stopped working

Abierto
#3,810 0 comentarios 1 reacción 0 asignados Ver en GitHub
area:installation area:platform-windows
Lenguaje dominante
Shell
Estrellas
11.2k
Forks
1.9k
Merge medio
14 h 16 min
PR fusionados (30 d)
6

Descripción

### 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

Guía de contribución

Abrir la guía de contribución

Línea de trabajo

Start by reproducing the standalone executable update on Windows Server 2019 with version 1.0.62 and inspect the extraction path shown in the sea-loader.js stack trace. Investigate why the temporary directory cannot be renamed to the versioned directory, then verify that extraction and subsequent CLI updates complete successfully.

Escrito por el modelo de indexación a partir del texto del issue.

Evaluación

Stack tecnológico
node.js
Área
cli, operating-systems
Tipo de issue
Error
Dificultad
4/5
Tiempo estimado
3-5 días
Estado de actividad
Tranquilo
Claridad
Necesita aclaración
Aptitud para principiantes
42/100

Recibe los nuevos issues en tu correo

Un resumen breve de issues de GitHub para principiantes.