You may not have the required dependencies to build the native modules. #7209
Labels
bug
Something isn't working
os-windows
Windows related
triage
This issue needs to be triaged by a maintainer
Is there an existing issue for this?
OS/Web Information
code-server --version
: 4.xxSteps to Reproduce
npm install -g code-server
Expected
install successfull
Actual
➜ ~ npm install -g code-server
npm warn deprecated [email protected]: 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.
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 F:\node-v20.18.3-win-x64\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.3 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 F:\node-v20.18.3-win-x64\node_modules\code-server
npm error npm error dest F:\node-v20.18.3-win-x64\node_modules.code-server-sBVAwspn
npm error npm error errno -4082
npm error npm error EBUSY: resource busy or locked, rename 'F:\node-v20.18.3-win-x64\node_modules\code-server' -> 'F:\node-v20.18.3-win-x64\node_modules.code-server-sBVAwspn'
npm error npm error A complete log of this run can be found in: F:\packages\npm_logs\2025-02-18T10_05_22_242Z-debug-0.log
npm error A complete log of this run can be found in: F:\packages\npm_logs\2025-02-18T10_05_09_079Z-debug-0.log
Logs
Screenshot/Video
Does this bug reproduce in native VS Code?
I did not test 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?
Notes
No response
The text was updated successfully, but these errors were encountered: