mirror of
https://github.com/zed-industries/zed.git
synced 2026-11-19 15:10:34 +01:00
3dbf6a8101
## Summary Give directory-less npm commands a Zed-owned working directory and explicit prefix, preventing project devEngines requirements from blocking language server package queries. Apply the directory consistently to managed and system runtimes while preserving explicit install targets. Cover command construction, child working directories, and propagation of directory-creation errors for both runtimes. Fixes #65279 ## Testing Tested locally and confirmed language server setup works in Yarn and pnpm projects. ## Self-review - [x] I've reviewed my diff for quality, security, reliability, and performance. - [x] UI changes follow the [checklist](https://zed.dev/docs/development/ui-checklist). - [x] Tests cover the new or changed behavior. Release Notes: - Fixed language server setup failing with `EBADDEVENGINES` in Yarn and pnpm projects. --------- Co-authored-by: Codex <noreply@openai.com>