Open DonNicoJs opened 6 years ago
I think I just encountered the same problem. I was wondering why the touch
command on my linux system suddenly behaves strange and found out that it was replaced by a Node.js application which was installed in Yarn's global module folder (Yeah, I know my PATH variable is/was in wrong order...).
I can reproduce it like this:
yarn global add typings
.typings
program. So everything is fine.yarn global upgrade
.is-ci
, loose-envify
, rc
, rimraf
, semver
, touch
, tsc
, tsserver
and which
. This should not be the case.Any update on this?
Same problem
What is the current behavior?
yarn global upgrade
is installing dependencies of installed packages in the global folder.If the current behavior is a bug, please provide the steps to reproduce.
What is the expected behavior?
yarn global upgrade
should not install dependencies or optionalDependencies in the global folderPlease mention your node.js, yarn and operating system version.
additional detaisl
yarn global list
before the execution ofyarn global upgrade
:yarn global list
after the execution ofyarn global upgrade
yarn_global_upgrade_output.txt