We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 3428a5d commit 9018704Copy full SHA for 9018704
.changeset/spicy-mangos-shop.md
@@ -0,0 +1,5 @@
1
+---
2
+"@opennextjs/aws": patch
3
4
+
5
+Update npm install command to use --os flag
packages/open-next/src/build/installDeps.ts
@@ -36,7 +36,7 @@ export function installDependencies(
36
: "";
37
38
const additionalArgs = installOptions.additionalArgs ?? "";
39
- const installCommand = `npm install --platform=linux ${archOption} ${targetOption} ${libcOption} ${additionalArgs} ${installOptions.packages.join(" ")}`;
+ const installCommand = `npm install --os=linux ${archOption} ${targetOption} ${libcOption} ${additionalArgs} ${installOptions.packages.join(" ")}`;
40
execSync(installCommand, {
41
stdio: "pipe",
42
cwd: tempInstallDir,
0 commit comments