question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

npmClient does not work when lerna publish

See original GitHub issue

Expected Behavior

when publish, lerna use the npmClient i specified

Current Behavior

when publish, lerna use npm to do it

Possible Solution

Steps to Reproduce (for bugs)

  1. set npmClient in lerna.json
  2. lerna publish
lerna.json

<!-- Please paste your `lerna.json` here -->

lerna-debug.log

<!-- If you have a `lerna-debug.log` available, please paste it here -->
<!-- Otherwise, feel free to delete this <details> block -->

Context

Your Environment

Executable Version
lerna --version 3.16.4
npm --version 6.4.1
yarn --version 1.13.0
node --version 10.15.0
windows 10
NAME VERSION

Issue Analytics

  • State:closed
  • Created 4 years ago
  • Reactions:10
  • Comments:15 (5 by maintainers)

github_iconTop GitHub Comments

15reactions
evocateurcommented, Oct 18, 2019

Literally all of the code used is open source, so “security reasons” is weak tea. Anyway, it’s not going to change in Lerna going forward, so I’m closing this issue.

0reactions
starandtinacommented, Oct 18, 2019

@starandtina same problem, any idea?

A quick solution: just use lerna@2.x

Read more comments on GitHub >

github_iconTop Results From Across the Web

A guide through The Wild Wild West of setting up a mono repo ...
In this part, I will explain step by step how to setup Lerna, Yarn Workspaces and Typescript in a mono repo. In the...
Read more >
Managing Monorepo using Lerna and Yarn workspaces
You need to manage issues and pull requests in a single repository ... lerna publish command publishes npm packages that have changes.
Read more >
Using pnpm with Lerna
If not already using workspaces, run lerna clean to remove the node_modules/ folder in all packages. Set "npmClient": "pnpm" and "useWorkspaces": true in ......
Read more >
Lerna NPM | npm.io
When you run lerna publish , if a module has been updated since the last time a release ... Applicable are packages that...
Read more >
@lerna/version - npm
3 ) and you run lerna version with and a non-prerelease bump ( major , minor , or patch ), it will publish...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found