Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Installation error on Windows #7093

Open
1 of 2 tasks
haozia816 opened this issue Nov 26, 2024 · 1 comment
Open
1 of 2 tasks

Installation error on Windows #7093

haozia816 opened this issue Nov 26, 2024 · 1 comment
Labels
bug Something isn't working triage This issue needs to be triaged by a maintainer

Comments

@haozia816
Copy link

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 [email protected]: This package is no longer supported.
npm warn deprecated [email protected]: Rimraf versions prior to v4 are no longer supported
npm warn deprecated [email protected]: Glob versions prior to v9 are no longer supported
npm warn deprecated [email protected]: This package is no longer supported.
npm warn deprecated [email protected]: 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

@haozia816 haozia816 added bug Something isn't working triage This issue needs to be triaged by a maintainer labels Nov 26, 2024
@code-asher
Copy link
Member

Technically we still need to work on official Windows support: #1397

That said, I am not sure what is going wrong here.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working triage This issue needs to be triaged by a maintainer
Projects
None yet
Development

No branches or pull requests

2 participants