From fc46e8701e5d598d2cfd7e289be548b8f4a822dc Mon Sep 17 00:00:00 2001 From: lapineige Date: Thu, 2 Feb 2023 16:24:23 +0100 Subject: [PATCH] Update restore MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Trying to remove `ERR_PNPM_RECURSIVE_RUN_FIRST_FAIL  backend@ migrate: `typeorm migration:run -d ormconfig.js` restoration error. --- scripts/restore | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/scripts/restore b/scripts/restore index 2633b61..075f5db 100755 --- a/scripts/restore +++ b/scripts/restore @@ -81,7 +81,7 @@ pushd "$final_path" corepack prepare pnpm@latest --activate ynh_exec_warn_less ynh_exec_as $app env $ynh_node_load_PATH pnpm install ynh_exec_warn_less ynh_exec_as $app env $ynh_node_load_PATH NODE_ENV=production pnpm build - ynh_exec_warn_less ynh_exec_as $app env $ynh_node_load_PATH pnpm run migrate + ynh_exec_warn_less ynh_exec_as $app env $ynh_node_load_PATH NODE_ENV=production pnpm run migrate popd #=================================================