diff --git a/scripts/install b/scripts/install index 2856bd6..4946c22 100644 --- a/scripts/install +++ b/scripts/install @@ -69,8 +69,7 @@ ynh_script_progression --message="Building app... This will take some time." --w pushd "$install_dir" ynh_use_nodejs corepack enable - corepack prepare pnpm@latest --activate - ynh_exec_warn_less ynh_exec_as $app env $ynh_node_load_PATH NODE_ENV=production npm install -g pnpm + corepack prepare pnpm@8.1.1 --activate ynh_exec_warn_less ynh_exec_as $app env $ynh_node_load_PATH NODE_ENV=production 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 NODE_ENV=production pnpm run init