Skip to content
This repository was archived by the owner on May 1, 2024. It is now read-only.

preferGlobal is broken :/ #112

Closed Answered by ljharb
RilDev asked this question in CLI
Dec 7, 2020 · 1 comments · 8 replies
Discussion options

You must be logged in to vote

Generally speaking, that flag, along with installing anything globally, is discouraged by the ecosystem. It’s not really something you can know with authority that your consumers want to install your package globally - they might have it as a dep or a dev dep, and run it vis an npm run-script, or they might be running it via npx.

Replies: 1 comment 8 replies

Comment options

You must be logged in to vote
8 replies
@ljharb
Comment options

@RilDev
Comment options

@MylesBorins
Comment options

@ruyadorno
Comment options

@RilDev
Comment options

Answer selected by MylesBorins
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
CLI
Labels
None yet
4 participants