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
{{ message }}
Repository navigation
prettier support for already-installed node.js packages #675
For projects which are already using gradle to manage node.js and install deps with package.json, it would be nice if our prettier config could hook into that. Maybe if it had an arg where you passed the node executable, and another for passing package-lock.json for caching, and it was on you (somehow) to make sure that the dependencies were wired correctly. Getting the ergonomics right is key, and also difficult...
I just stumbled upon this when looking for a way to deal with
> npm ERR! code ETARGET
> npm ERR! notarget No matching version found for prettier@2.8.4.
> npm ERR! notarget In most cases you or one of your dependencies are requesting
> npm ERR! notarget a package version that doesn't exist.
when trying to run spotless.
Which I don't understand, especially since that exact version is already installed:
$ prettier --version
2.8.4
I see that this issue has been referenced a couple of times but I gather there aren't any plans to implement it?
Activity
[-]prettier support for existing node.js packages[/-][+]prettier support for already-installed node.js packages[/+]milgner commentedon Mar 7, 2023
I just stumbled upon this when looking for a way to deal with
when trying to run spotless.
Which I don't understand, especially since that exact version is already installed:
I see that this issue has been referenced a couple of times but I gather there aren't any plans to implement it?