Skip to content

Conversation

beyondkmp
Copy link
Collaborator

@beyondkmp beyondkmp commented Aug 6, 2025

Fix #9239

Copy link

changeset-bot bot commented Aug 6, 2025

🦋 Changeset detected

Latest commit: 1c84d31

The changes in this PR will be included in the next version bump.

This PR includes changesets to release 12 packages
Name Type
app-builder-lib Patch
builder-util-runtime Patch
electron-builder Patch
dmg-builder Patch
electron-builder-squirrel-windows Patch
electron-forge-maker-appimage Patch
electron-forge-maker-nsis-web Patch
electron-forge-maker-nsis Patch
electron-forge-maker-snap Patch
builder-util Patch
electron-publish Patch
electron-updater Patch

Not sure what this means? Click here to learn what changesets are.

Click here if you're a maintainer who wants to add another changeset to this PR

@beyondkmp beyondkmp requested a review from mmaietta August 6, 2025 09:46
@@ -94,7 +94,7 @@ export async function installDependencies(config: Configuration, { appDir, proje
}

if (pm === PM.YARN) {
execArgs.push("--prefer-offline")
execArgs.push("--cached")
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Should this only be for === PM.YARN_BERRY and kept as --prefer-offline for PM.YARN?

@beyondkmp beyondkmp marked this pull request as draft August 29, 2025 07:38
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Build fails with error "The --prefer-offline flag is deprecated; use the --cached flag with 'yarn add' instead"
2 participants