From 4ccac20a6726bc5792f5fdf2385ed04111344064 Mon Sep 17 00:00:00 2001 From: Derek Lewis Date: Sun, 9 Aug 2026 05:49:26 +0000 Subject: [PATCH] =?UTF-8?q?=F0=9F=90=8B=F0=9F=94=A7=EF=BC=9Astop=20pointin?= =?UTF-8?q?g=20the=20dprint=20extension=20at=20a=20path=20nothing=20instal?= =?UTF-8?q?ls?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit The dprint VS Code extension has been failing to launch since #1775: [ERROR] Problem launching /home/node/.dprint/bin/dprint. /bin/sh: 1: /home/node/.dprint/bin/dprint: not found That path came from the devcontainer's old fish-based tools/devcontainer/post-start.fish, which ran dprint's own curl installer and put $HOME/.dprint/bin on PATH. #1775 replaced that script with the current bash post-create.sh/post-start.sh and dropped the install step, but .vscode/settings.json's "dprint.path" override was never updated to match, so it still points at a location nothing populates. Reinstalling dprint globally via that same curl script would fix the symptom while re-litigating what #1777 just settled: dprint is already a pinned devDependency (currently 0.55.2) that pnpm installs to node_modules/.bin/dprint, and a second global copy would drift from that pin rather than track it. The extension auto-resolves node_modules/.bin/dprint when no "dprint.path" is set, and devcontainer.json's remoteEnv already puts that directory on PATH, so removing the override is the fix rather than replacing it. Co-Authored-By: Claude Sonnet 5 --- .vscode/settings.json | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/.vscode/settings.json b/.vscode/settings.json index 625d7d337..bd5dc4422 100644 --- a/.vscode/settings.json +++ b/.vscode/settings.json @@ -263,7 +263,11 @@ // Dprint ///////////////////////////////////////////// - "dprint.path": "~/.dprint/bin/dprint", + // No "dprint.path" here on purpose. The extension (0.12.0+) auto-resolves + // node_modules/.bin/dprint when present, which is where pnpm installs the + // exact version package.json pins -- pointing this at a separately + // installed global binary would drift from that pin instead of tracking + // it. // EditorConfig (https://editorconfig.org/) /////////////////////////////////////////////