3 ms·
Does the combination of Yarn, VSCode and TypeScript work now? I've wasted time twice now trying to move projects to Yarn 2 just to have the tsserver LSP break
by mixedCase 5y ago
Does the combination of Yarn, VSCode and TypeScript work now?
I've wasted time twice now trying to move projects to Yarn 2 just to have the tsserver LSP break every time, being unable to find the packages despite following the documentation to the letter.
- djxfade 5y agoI have never experiences any problems with that setup
- arcatek 5y agoWe use Yarn / VSCode / TypeScript (both to maintain Yarn and at work), so we are very invested in this use case. If something didn't work, we'd notice it quickly and the fix wouldn't take long!
- mixedCase 5y agoWell I just tried to make a repro by grabbing a random repo I had, but I get "Invalid authentication (as an anonymous user)" when trying to get a package from a GitHub registry, after configuring my scope with `yarn config set npmScopes.MYSCOPE.npmRegistryServer "https://npm.pkg.github.com https://npm.pkg.github.com"` and successfully logging in with `yarn npm login --scope MYSCOPE`. Every single time I've tried Yarn 2 I end up frustrated.
- arcatek 5y agoWe don't do support on HN, but if you really don't find information in our repository issues I'm sure our Discord can help. We publish all the Yarn packages to both the npm and GitHub package registries, so I'm certain it works fine.
- JazzXP 5y agoThis is exactly what turned me off Yarn 2. I think it was a language server issue, but if it's broken, it's broken. It sent me back to NPM, and I rarely use Yarn these days at all.