Skip to content

Commit

Permalink
fix(expo): allow yarn 4 install to change yarn.lock
Browse files Browse the repository at this point in the history
  • Loading branch information
xiongemi committed Oct 24, 2024
1 parent 0bea5b2 commit 98b3616
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion packages/expo/src/executors/build/build.impl.ts
Original file line number Diff line number Diff line change
Expand Up @@ -59,7 +59,10 @@ function runCliBuild(
['build', ...createBuildOptions(options)],
{
cwd: pathResolve(workspaceRoot, projectRoot),
env: process.env,
env: {
...(options.local ? { YARN_ENABLE_IMMUTABLE_INSTALLS: 'false' } : {}),
...process.env,
},
}
);

Expand Down

0 comments on commit 98b3616

Please sign in to comment.