From 8e4f92ddbc1bdaefc8cf7f63152f2ae7893b62f9 Mon Sep 17 00:00:00 2001 From: Gerardo Date: Wed, 5 Jun 2024 18:11:01 +0200 Subject: [PATCH] Use --prefer-offline --- package.json | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/package.json b/package.json index 3f5c0d1da5..e233eae833 100644 --- a/package.json +++ b/package.json @@ -59,7 +59,7 @@ "webdriverio": "8.16.20" }, "scripts": { - "postinstall": "npm ci --prefix gutenberg && ./bin/run-block-experiments-command.sh && npm run i18n:check-cache && ./bin/run-jetpack-command.sh \"install --offline --ignore-scripts\"", + "postinstall": "npm ci --prefix gutenberg && ./bin/run-block-experiments-command.sh && npm run i18n:check-cache && ./bin/run-jetpack-command.sh \"install --prefer-offline --ignore-scripts\"", "start": "echo \"\\x1b[33mThe start command is not available in this project. It is strongly recommended to use \\x1b[1:33mstart:reset\\x1b[0m\\x1b[33m to perform some cleanup when starting the metro bundler.\nOr you may use \\x1b[1:33mstart:quick\\x1b[0m\\x1b[33m for a quicker startup, but this may lead to unexpected javascript errors when running the app.\\x1b[0m\"", "start:reset": "npm run core clean:runtime && npm run start:quick -- --reset-cache", "start:quick": "npm run core start:quick -- -- -- --config ../../../metro.config.js",