Title: Installing Code-Server on Windows with NPM fails since version 4.95.1 · Issue #7280 · coder/code-server · GitHub
Open Graph Title: Installing Code-Server on Windows with NPM fails since version 4.95.1 · Issue #7280 · coder/code-server
X Title: Installing Code-Server on Windows with NPM fails since version 4.95.1 · Issue #7280 · coder/code-server
Description: Is there an existing issue for this? I have searched the existing issues OS/Web Information Local OS: Windows Server 2019 code-server: >= 4.95.1 Steps to Reproduce Install NodeJS 20.18.1 Install Python 3.12 Install Git Install VS 2022 Bu...
Open Graph Description: Is there an existing issue for this? I have searched the existing issues OS/Web Information Local OS: Windows Server 2019 code-server: >= 4.95.1 Steps to Reproduce Install NodeJS 20.18.1 Install Py...
X Description: Is there an existing issue for this? I have searched the existing issues OS/Web Information Local OS: Windows Server 2019 code-server: >= 4.95.1 Steps to Reproduce Install NodeJS 20.18.1 Install...
Opengraph URL: https://github.com/coder/code-server/issues/7280
X: @github
Domain: github.com
{"@context":"https://schema.org","@type":"DiscussionForumPosting","headline":"Installing Code-Server on Windows with NPM fails since version 4.95.1","articleBody":"### Is there an existing issue for this?\n\n- [x] I have searched the existing issues\n\n### OS/Web Information\n\n* Local OS: Windows Server 2019\n* code-server: >= 4.95.1\n\n\n### Steps to Reproduce\n\n1. Install NodeJS 20.18.1\n2. Install Python 3.12\n3. Install Git \n5. Install VS 2022 Build Tools with Spectre mitigated libs.\n4. Install Node-Gyp with NPM\n6. Install Code-Server >= 4.95.1 with NPM\n\n### Expected\n\nI expect that it works with >= 4.95.1 like it works with 4.93.1.\n\n### Actual\n\nWith my setup script I testet several versions.\n\nThis does not work. Executed in PowerShell.\n\n`. \"C:\\Program Files\\Git\\bin\\bash.exe\" -c \"\"\"npm\"\" install code-server@4.95.1 -g --unsafe-perm\"\n\nThis is the last one that works. Executed in PowerShell.\n\n`. \"C:\\Program Files\\Git\\bin\\bash.exe\" -c \"\"\"npm\"\" install code-server@4.93.1 -g --unsafe-perm\"`\n\n\n\n\n### Logs\n\n```shell\nnpm warn deprecated inflight@1.0.6: This module is not supported, and leaks memory. Do not use it. Check out lru-cache if you want a good and tested way to coalesce async requests by a key value, which is much more comprehensive and powerful.\nnpm warn deprecated npmlog@5.0.1: This package is no longer supported.\nnpm warn deprecated rimraf@3.0.2: Rimraf versions prior to v4 are no longer supported\nnpm warn deprecated glob@7.2.3: Glob versions prior to v9 are no longer supported\nnpm warn deprecated are-we-there-yet@2.0.0: This package is no longer supported.\nnpm warn deprecated gauge@3.0.2: This package is no longer supported.\nnpm error code 1\nnpm error path C:\\Users\\Administrator\\AppData\\Roaming\\npm\\node_modules\\code-server\nnpm error command failed\nnpm error command C:\\Windows\\system32\\cmd.exe /d /s /c sh ./postinstall.sh\nnpm error Installing Code dependencies...\nnpm error User agent: npm/10.8.2 node/v20.19.0 win32 x64 workspaces/false\nnpm error You may not have the required dependencies to build the native modules.\nnpm error Please see https://github.com/coder/code-server/blob/main/docs/npm.md\nnpm error npm error code EBUSY\nnpm error npm error syscall rename\nnpm error npm error path C:\\Users\\Administrator\\AppData\\Roaming\\npm\\node_modules\\code-server\nnpm error npm error dest C:\\Users\\Administrator\\AppData\\Roaming\\npm\\node_modules\\.code-server-acCLOgym\nnpm error npm error errno -4082\nnpm error npm error EBUSY: resource busy or locked, rename 'C:\\Users\\Administrator\\AppData\\Roaming\\npm\\node_modules\\code-server' -> 'C:\\Users\\Administrator\\AppData\\Roaming\\npm\\node_modules\\.code-server-acCLOgym'\nnpm error npm error A complete log of this run can be found in: C:\\Users\\Administrator\\AppData\\Local\\npm-cache\\_logs\\2025-03-25T08_48_41_315Z-debug-0.log\nnpm error A complete log of this run can be found in: C:\\Users\\Administrator\\AppData\\Local\\npm-cache\\_logs\\2025-03-25T08_48_34_597Z-debug-0.log\n```\n\n### Screenshot/Video\n\n_No response_\n\n### Does this bug reproduce in native VS Code?\n\n- Not tested.\n\n### Does this bug reproduce in GitHub Codespaces?\n\n- Not tested.\n\n### Are you accessing code-server over a secure context?\n\n- [ ] I am using a secure context.\n\n### Notes\n\nI also tested on 2 Windows 11 machines. Always the same outcome: 4.93.1 works, >= 4.95.1 does not work.","author":{"url":"https://github.com/kenaroik","@type":"Person","name":"kenaroik"},"datePublished":"2025-03-25T08:51:41Z","url":"https://github.com/coder/code-server/issues/7280"}
| react-profiling | 0 |
| react-import-map | react,react-dom,react-dom/client,react-dom/profiling,react-is,react/compiler-runtime,react/jsx-dev-runtime,react/jsx-runtime,scheduler@b8488ee2c322 |
| route-pattern | /_view_fragments/issues/show/:user_id/:repository/:id/issue_layout(.:format) |
| route-controller | voltron_issues_fragments |
| route-action | issue_layout |
| fetch-nonce | v2:fe7ba3f7-5256-7dd1-ca0e-f937afe50a15 |
| current-catalog-service-hash | 81bb79d38c15960b92d99bca9288a9108c7a47b18f2423d0f6438c5b7bcd2114 |
| request-id | BDEE:1148D3:2C842EE:38CD328:6B01BAF3 |
| html-safe-nonce | 74d599cbce0f927114e03ee3aaa4d7e5e297b3f5a8bcf6b184b671d444a4e551 |
| visitor-payload | eyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJCREVFOjExNDhEMzoyQzg0MkVFOjM4Q0QzMjg6NkIwMUJBRjMiLCJ2aXNpdG9yX2lkIjoiMTU5MDEwMTQ2ODYzODE5ODUxNSIsInJlZ2lvbl9lZGdlIjoiaWFkIiwicmVnaW9uX3JlbmRlciI6ImlhZCJ9 |
| visitor-hmac | 5135b7670ee37622e3b8e8a6a0559ce4c97fccc9a285147b327cd6138996213f |
| hovercard-subject-tag | issue:2945775015 |
| github-keyboard-shortcuts | repository,issues,copilot |
| google-site-verification | Apib7-x98H0j5cPqHWwSMm6dNU4GmODRoqxLiDzdx9I |
| octolytics-url | https://collector.github.com/github/collect |
| analytics-location | / |
| fb:app_id | 1401488693436528 |
| apple-itunes-app | app-id=1477376905, app-argument=https://github.com/_view_fragments/issues/show/coder/code-server/7280/issue_layout |
| twitter:image | https://opengraph.githubassets.com/566bd724b04774dd59d860682452395d3c182675d5d70d04698a7aa940efd947/coder/code-server/issues/7280 |
| twitter:card | summary_large_image |
| og:image | https://opengraph.githubassets.com/566bd724b04774dd59d860682452395d3c182675d5d70d04698a7aa940efd947/coder/code-server/issues/7280 |
| og:image:alt | Is there an existing issue for this? I have searched the existing issues OS/Web Information Local OS: Windows Server 2019 code-server: >= 4.95.1 Steps to Reproduce Install NodeJS 20.18.1 Install Py... |
| og:image:width | 1200 |
| og:image:height | 600 |
| og:site_name | GitHub |
| og:type | object |
| og:author:username | kenaroik |
| hostname | github.com |
| expected-hostname | github.com |
| None | cc5dfdd32f62ebd3223cab3af3aa2b268d3605218237326a48a99d1efd89495c |
| turbo-cache-control | no-preview |
| go-import | github.com/coder/code-server git https://github.com/coder/code-server.git |
| octolytics-dimension-user_id | 95932066 |
| octolytics-dimension-user_login | coder |
| octolytics-dimension-repository_id | 172953845 |
| octolytics-dimension-repository_nwo | coder/code-server |
| octolytics-dimension-repository_public | true |
| octolytics-dimension-repository_is_fork | false |
| octolytics-dimension-repository_network_root_id | 172953845 |
| octolytics-dimension-repository_network_root_nwo | coder/code-server |
| turbo-body-classes | logged-out env-production page-responsive |
| disable-turbo | false |
| browser-stats-url | https://api.github.com/_private/browser/stats |
| browser-errors-url | https://api.github.com/_private/browser/errors |
| release | 8c77c9e8439031ad54c75a250694842892f693e1 |
| ui-target | full |
| theme-color | #1e2327 |
| color-scheme | light dark |
| react-app-name | issues |
Links:
Viewport: width=device-width