๐๐ง๏ผstop pointing dprint extension at path nothing installs - #1779
Merged
Conversation
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 <noreply@anthropic.com>
โ Deploy Preview for gh-pages-openinf ready!
To edit notification comments on pull requests, go to your Netlify project configuration. |
OpenINFbot
approved these changes
Aug 9, 2026
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
๐ dev container
๐ง bug fix
Why
The dprint VS Code extension has been dead since #1775, failing at launch
on every attach:
~/.dprint/bin/dprintwas populated by the old fish-basedtools/devcontainer/post-start.fish, which ran dprint's curl installerand added that directory to
PATH. #1775 replaced that script with thecurrent bash
post-create.sh/post-start.shand dropped the installstep, but the
dprint.pathoverride in.vscode/settings.jsonstillpoints there -- at a location nothing populates anymore.
What this does
Removes the
dprint.pathoverride rather than restoring the globalinstall. Re-adding the curl installer would fix the symptom while undoing
what #1777 just settled: dprint is already a pinned devDependency
(currently
0.55.2) that pnpm installs tonode_modules/.bin/dprint, anda second, separately-versioned global copy would drift from that pin
instead of tracking it. The extension auto-resolves
node_modules/.bin/dprintwhen nodprint.pathis set, anddevcontainer.json'sremoteEnvalready puts that directory onPATH,so deleting the setting is the whole fix. A comment is left in its place
so the next person doesn't helpfully re-add it.
Test plan
node_modules/.bin/dprint --versionreports0.55.2, matching thepackage.jsonpin.node_modules/.bin/dprint check --config dprint.jsonruns clean.nps verify.json(biome) clean on the editedsettings.json.dprint.pathhas no${workspaceFolder}substitution, and that node_modules resolutionis the supported path for a project-local binary.
(needs a reattach to confirm on your side).
๐ค Generated with Claude Code