diff --git a/scripts/restore b/scripts/restore index 50a0ea5..a6cf46f 100755 --- a/scripts/restore +++ b/scripts/restore @@ -75,6 +75,13 @@ ynh_install_nodejs --nodejs_version=$NODEJS_VERSION ynh_exec_warn_less ynh_install_app_dependencies $pkg_dependencies ynh_install_extra_app_dependencies --repo="deb https://dl.yarnpkg.com/debian/ stable main" --package="yarn" --key="https://dl.yarnpkg.com/debian/pubkey.gpg" +# enable pnpm again +pushd "$final_path" + ynh_use_nodejs + corepack enable + corepack prepare pnpm@latest --activate +popd + #================================================= # RESTORE THE NGINX CONFIGURATION #=================================================