You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
That is clearly a bug report of very questionable quality, but I have to say that is real. I often get an error about not having prettier installed.
["INFO" - 14:26:54] Attempted to determine module path from /Users/ssbarnea/c/a/ansible-compat
["ERROR" - 14:26:54] Failed to load module. If you have prettier or plugins referenced in package.json, ensure you have run `npm install`
["ERROR" - 14:26:54] Cannot find module 'prettier' from '/Users/ssbarnea/c/a/ansible-compat'
Error: Cannot find module 'prettier' from '/Users/ssbarnea/c/a/ansible-compat'
at e.exports [as sync] (/Users/ssbarnea/.vscode/extensions/esbenp.prettier-vscode-1
I use multi-root workspaces, that is for sure and only some of these projects have a package.json in them with prettier, the others do not. Still, I do have prettier installed globally via npm install -g prettier, so I see no reason why the prettier vscode extension would fail to find a prettier.
I do suspect that this might be a newer regression, no more than 1-2 months old as I do not remember seeing it before.
$ which -a prettier
/Users/ssbarnea/.asdf/shims/prettier
/opt/homebrew/bin/prettier
ssbarnea@m1: ~/c/a/molecule chore/contraints
$ prettier --version
3.2.5
No description provided.
The text was updated successfully, but these errors were encountered: