Replies: 2 comments 1 reply
-
@merceyz how to install yarn3 globally with npm |
Beta Was this translation helpful? Give feedback.
-
I wanted to use yarn over pnpm since a lot of projects prefer yarn, however this issue is preventing me from using yarn here as well. |
Beta Was this translation helpful? Give feedback.
-
I also met the same problem.
If I execute
tsc -v
directly in Powershell Core, it will throw out an error. But if I invokeyarn run tsc -v
, it does response the version of TypeScript as I expected. Note: I didn't configuretsc
forscripts
inpackage.json
(details stored here).I'm using Plug'n'Play and Zero-Install features from Yarn v3.1.0, is there something wrong with my configurations? Should I install TypeScript to global environment with
yarn dlx add typescript
oryarn global add typescript
?Originally posted by @Dragon1573 in yarnpkg/yarn#648 (comment)
Beta Was this translation helpful? Give feedback.
All reactions