Installation error on Windows
Dieses Issue hat noch niemand übernommen.
Bewertung
- Schwierigkeit
- 4/5
- Geschätzter Aufwand
- 3-5 Tage
- Anfängerfreundlichkeit
- 35/100
- Issue-Typ
- Bug
- Klarheit
- Muss geklärt werden
- Aktivitätsstatus
- Ruhig
- Tech-Stack
- node.js, typescript
- Bereich
- build-system, operating-systems
Rechercherichtung
Beginne damit, npm install --global code-server unter Windows 10 LTSC mit Version 4.95.1 zu reproduzieren, und lies anschließend postinstall.sh und docs/npm.md, auf die im Fehler verwiesen wird. Vergleiche das fehlschlagende Release mit einer Version unter 4.95.1 und ermittle, ob die Installation ohne den gemeldeten EBUSY-Fehler beim Umbenennen abgeschlossen wird.
Vom Indexierungsmodell aus dem Issue-Text verfasst.
Beschreibung
Is there an existing issue for this?
- I have searched the existing issues
OS/Web Information
Windows version: Windows 10 LTSC 2021
Code-server error version: 4.95.1+,Below this version, installation is correct
npm warn deprecated npmlog@5.0.1: This package is no longer supported.
npm warn deprecated rimraf@3.0.2: Rimraf versions prior to v4 are no longer supported
npm warn deprecated glob@7.2.3: Glob versions prior to v9 are no longer supported
npm warn deprecated are-we-there-yet@2.0.0: This package is no longer supported.
npm warn deprecated gauge@3.0.2: This package is no longer supported.
npm error code 1
npm error path C:\Users\vc\AppData\Roaming\npm\node_modules\code-server
npm error command failed
npm error command C:\Windows\system32\cmd.exe /d /s /c sh ./postinstall.sh
npm error Installing Code dependencies...
npm error User agent: npm/10.8.2 node/v20.18.1 win32 x64 workspaces/false
npm error You may not have the required dependencies to build the native modules.
npm error Please see https://github.com/coder/code-server/blob/main/docs/npm.md
npm error npm error code EBUSY
npm error npm error syscall rename
npm error npm error path C:\Users\vc\AppData\Roaming\npm\node_modules\code-server
npm error npm error dest C:\Users\vc\AppData\Roaming\npm\node_modules\.code-server-bnqWeVmV
npm error npm error errno -4082
npm error npm error EBUSY: resource busy or locked, rename 'C:\Users\vc\AppData\Roaming\npm\node_modules\code-server' -> 'C:\Users\vc\AppData\Roaming\npm\node_modules\.code-server-bnqWeVmV'
npm error npm error A complete log of this run can be found in: C:\Users\vc\AppData\Local\npm-cache\_logs\2024-11-26T09_30_44_696Z-debug-0.log
npm error A complete log of this run can be found in: C:\Users\vc\AppData\Local\npm-cache\_logs\2024-11-26T09_30_31_046Z-debug-0.log```
### Steps to Reproduce
1.npm install --global code-server
### Expected
1
### Actual
1
### Logs
```shell
Screenshot/Video
No response
Does this bug reproduce in native VS Code?
Yes, this is also broken in native VS Code
Does this bug reproduce in GitHub Codespaces?
Yes, this is also broken in GitHub Codespaces
Are you accessing code-server over a secure context?
- I am using a secure context.
Notes
No response
- Vorherrschende Sprache
- TypeScript
- Sterne
- 79.4k
- Forks
- 6.9k
- Ø Merge
- 2 T. 13 Std.
- Gemergte PRs (30 T.)
- 39
Beitragsleitfaden
Erste Schritte
- Lesen Sie das ganze Issue und danach den Beitragsleitfaden des Projekts.
- Schreiben Sie ins Issue, dass Sie es übernehmen — das erspart doppelte Arbeit.
- Forken Sie das Repository und arbeiten Sie in einem Branch.
- Öffnen Sie einen Pull Request, der die Issue-Nummer nennt.
Mehr aus coder/code-server
-
Schwierigkeit 1/5 Unter einer Stunde Anfängerfreundlichkeit 92/100
coder/code-server#8017 · 2 Kommentare ·
-
Bump proxy-addr to 2.0.8 Offensecurity
Schwierigkeit 2/5 1-3 Stunden Anfängerfreundlichkeit 74/100
coder/code-server#8013 · 4 Kommentare ·
-
enhancement
Schwierigkeit 5/5 Über eine Woche Anfängerfreundlichkeit 35/100
coder/code-server#7976 · 2 Kommentare ·
-
enhancement
Schwierigkeit 5/5 Über eine Woche Anfängerfreundlichkeit 35/100
coder/code-server#7962 · 3 Kommentare ·
-
bug needs-investigation
Schwierigkeit 4/5 3-5 Tage Anfängerfreundlichkeit 55/100
coder/code-server#7955 · 1 Kommentar ·
Alle Issues in coder/code-server
Ähnliche Issues
-
VerificationGate: ATTRIBUTION quote guard never matches a normal quotation (\b around the quote) Offen
Schwierigkeit 2/5 1-3 Stunden Anfängerfreundlichkeit 75/100
danielmiessler/LifeOS#2234 ·
-
T: Bug
Schwierigkeit 2/5 1-3 Stunden Anfängerfreundlichkeit 75/100
-
Schwierigkeit 2/5 1-3 Stunden Anfängerfreundlichkeit 65/100
-
Schwierigkeit 1/5 Unter einer Stunde Anfängerfreundlichkeit 85/100
-
Mend: dependency security vulnerability untriaged
Schwierigkeit 2/5 1-3 Stunden Anfängerfreundlichkeit 70/100