Skip to content

Commit 4c394d5

Browse files
authored
fix: install all dependencies to fix building within NPM workspaces (#8715)
Fixes #7103.
1 parent 6a294c9 commit 4c394d5

File tree

2 files changed

+5
-1
lines changed

2 files changed

+5
-1
lines changed

.changeset/small-windows-leave.md

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
---
2+
"app-builder-lib": patch
3+
---
4+
5+
fix: does not work with NPM workspaces

packages/app-builder-lib/src/util/yarn.ts

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -100,7 +100,6 @@ async function installDependencies(config: Configuration, appDir: string, option
100100
if (process.env.NPM_NO_BIN_LINKS === "true") {
101101
execArgs.push("--no-bin-links")
102102
}
103-
execArgs.push("--production")
104103
}
105104

106105
if (!isRunningYarn(execPath)) {

0 commit comments

Comments
 (0)