mirror of
https://github.com/elastic/kibana.git
synced 2025-04-24 09:48:58 -04:00
Backports the following commits to 6.x: - [dev/build] use --prefer-offline flag when installing modules (#26198)
This commit is contained in:
parent
a246132abe
commit
83511cd99e
1 changed files with 1 additions and 1 deletions
|
@ -25,7 +25,7 @@ export const InstallDependenciesTask = {
|
|||
async run(config, log, build) {
|
||||
// We're using --no-bin-links to support systems that don't have symlinks.
|
||||
// This is commonly seen in shared folders on virtual machines
|
||||
const args = ['--production', '--ignore-optional', '--frozen-lockfile', '--no-bin-links'];
|
||||
const args = ['--production', '--ignore-optional', '--frozen-lockfile', '--no-bin-links', '--prefer-offline'];
|
||||
|
||||
await exec(log, 'yarn', args, {
|
||||
cwd: build.resolvePath(),
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue