You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
If a Lerna.json file is identified, then Lerna’s npmClient will determine if to run npm or yarn resolution.
The pnpm-lock.yaml file will be resolved if it is the only lock file identified next to the package.json file.
When the scan runs, though, the UA seems to prioritise lerna.json over pnpm-lock.yaml. Thing is, the UA doesn't seem to support pnpm as Lerna's npmClient because it keeps complaining that package-lock.json file is not there when resolving the dependencies. My expectation is either:
pnpm-lock.yaml takes precedence over lerna.json, or
pnpm is supported as Lerna's npmClient when lerna.json is used.
Thoughts? Thank you.
The text was updated successfully, but these errors were encountered:
Hi, here's my setup:
pnpm-lock.yaml
file sits side-by-side withlerna.json
npmClient
inmy lerna.json
is set topnpm
npm.resolveDependencies=true
andnpm.resolveLockFile=true
in mywss-unified-agent.config
According to https://docs.mend.io/bundle/unified_agent/page/unified_agent_configuration_parameters.html#JavaScript:
When the scan runs, though, the UA seems to prioritise
lerna.json
overpnpm-lock.yaml
. Thing is, the UA doesn't seem to support pnpm as Lerna's npmClient because it keeps complaining thatpackage-lock.json
file is not there when resolving the dependencies. My expectation is either:pnpm-lock.yaml
takes precedence overlerna.json
, orlerna.json
is used.Thoughts? Thank you.
The text was updated successfully, but these errors were encountered: