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.

Ability to opt of of using `npm ci`

See original GitHub issue

Expected Behavior

Being able to tell lerna bootstrap to explicitly use npm install instead of npm ci

Current Behavior

Since 3.0.0-beta.15, lerna bootstrap uses npm ci if it’s a version of npm that supports it and you pass the --ci flag. However, on CI environments the --ci flag is always true, and there’s no way to turn it off without messing around with environment variables, which would have other side effects.

Context

Since we’re not committing package-lock.json files (our current tooling doesn’t play nicely with them at present) npm ci errors, and we can’t currently use lerna on CI with npm@5.7.

Issue Analytics

  • State:closed
  • Created 5 years ago
  • Reactions:3
  • Comments:14 (7 by maintainers)

github_iconTop GitHub Comments

2reactions
evocateurcommented, Jun 4, 2018

lerna bootstrap --no-ci doesn’t work?

1reaction
raymondfengcommented, Aug 21, 2018

@evocateur Great! We appreciate your prompt response.

Read more comments on GitHub >

github_iconTop Results From Across the Web

npm-ci
This command is similar to npm install , except it's meant to be used in automated environments such as test platforms, continuous integration,...
Read more >
Reproducible Node Builds With npm ci - Semaphore
Here, you'd like to use npm ci , but removing the cache just makes the pipeline a bit too slow. The solution is...
Read more >
Support running `npm ci` when there are changes ... - YouTrack
The node and npm integration supports running npm install whenever there are changes to the package.json file. It would really be nice to...
Read more >
Difference Between npm i & npm ci - YouTube
npm i # npm ciPlease like, share and subscribe if you find the video useful. Checkout the Playlists: FrontEnd JavaScript Interview ...
Read more >
TIL about the command `npm ci`. It is similar to `npm install ...
We use npm ci for normal dev use. It assures that you're getting exactly what is in the package lock, so it's the...
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