--legacy-peer-deps doesnt work #5487
Unanswered
MarkForLoop
asked this question in
Q&A
Replies: 2 comments 3 replies
-
use pnpm add instead of pnpm i, I guess it should work |
Beta Was this translation helpful? Give feedback.
1 reply
-
pnpm doesn't have such flag. pnpm automatically installs peer dependencies. If you don't want pnpm to automatically install peer dependencies, set auto-install-peers to |
Beta Was this translation helpful? Give feedback.
2 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
I am trying to run
pnpm i @react-pdf/renderer --legacy-peer-deps
I get this error
ERROR ERROR Unknown option: 'legacy-peer-deps' Did you mean 'strict-peer-dependencies'? Use "--config.unknown=value" to force an unknown option.
so I ran
pnpm i @react-pdf/renderer strict-peer-dependencies
am I doing this correctly???
Beta Was this translation helpful? Give feedback.
All reactions