Missing required argument - pnpm
date
Mar 21, 2022
slug
missing-argument-pnpm
status
Published
tags
Typescript
Development
Fixes
summary
Missing required argument pnpm
type
Post
Error:
Missing required argument:
Solution:
yarn
parses args in a different way than npm
and pnpm
. pnpm
needs a delimiting --
to separate out flags that are passed to pnpm
vs flags that are part of the command. So commands usually look like this:pnpm nx -- affected --target=lint --uncommitted=true