Error: command failed: pnpm install --reporter silent --shamefully-hoist vue-cli-plugin-i18n -D
ERR_PNPM_PUBLIC_HOIST_PATTERN_DIFF This modules directory was created using a different public-hoist-pattern value. Run "pnpm install" to recreate the modules directory.
What is expected?
i dont want to use shamfully-hoist modules directory.
dont force me to use --shamfully-hoist flag.
Why the --shamefully-hoist flag must be used in vue cli
What is actually happening?
when use vue add xxx, force to use 'pnpm install --reporter silent --shamefully-hoist vue-cli-plugin-i18n -D'
Version
5.0.0-rc.2
Environment info
Steps to reproduce
use
pnpm install
vue add i18n
you will get errorWhat is expected?
i dont want to use shamfully-hoist modules directory. dont force me to use
--shamfully-hoist
flag.Why the
--shamefully-hoist
flag must be used invue cli
What is actually happening?
when use
vue add xxx
, force to use 'pnpm install --reporter silent --shamefully-hoist vue-cli-plugin-i18n -D'