Get the directory of globally installed packages and binaries
by sindresorhusJavaScript
Last 12 weeks · 0 commits
4 of 6 standards met
Detected via https://github.com/SAP/ui5-cli/issues/374 This breaks the is-installed-globally module, which is used within update-notifier. It can be reproduced within docker but also on WSL Ubuntu 18.04, so it seems to be a common problem with the node@12 formula. Global packages are installed into but points to (where is installed). I'm not sure whether this can/should be solved in this module or within the homebrew formula for node@12. node@12 ❌ node@14 ✅ node ✅
As mentioned in https://github.com/sindresorhus/resolve-global/pull/3. Although it's already mentioned in #12, I'll create this issue as requested. It looks like Yarn is resolved to a "wrong" global directory on Linux. On my MacOS/OSX this works perfectly though. OSX: Linux (through ): I don't think the is the proper folder for yarn right? When I manually add something globally through Yarn on the docker/linux instance, I get this path:
Repository: sindresorhus/global-directory. Description: Get the directory of globally installed packages and binaries Stars: 77, Forks: 10. Primary language: JavaScript. Languages: JavaScript (96.2%), TypeScript (3.8%). License: MIT. Latest release: v5.0.0 (6mo ago). Open PRs: 0, open issues: 0. Last activity: 6mo ago. Community health: 85%. Top contributors: sindresorhus, vladimyr, TiagoDanin, boneskull, coreyfarrell, BendingBender, zhaoygcq.