1
0
Fork 0
mirror of https://github.com/YunoHost-Apps/tooljet_ynh.git synced 2024-10-01 13:34:55 +02:00

Requires NPM v8.11.0

This commit is contained in:
tituspijean 2023-04-14 17:54:28 +02:00
parent f563a78bcb
commit 938d116b98
No known key found for this signature in database
GPG key ID: EF3B0D7CC0A94720
3 changed files with 3 additions and 2 deletions

View file

@ -8,6 +8,7 @@
pkg_dependencies="postgresql postgresql-contrib libpq-dev"
NODEJS_VERSION="18"
NPM_VERSION="8.11.0"
main_domain=$(cat /etc/yunohost/current_host)

View file

@ -123,7 +123,7 @@ pushd $final_path
# The version shipped by default with n does not work, there is a
# wierd dependency issue about unsupported platform and fsevent.
# See https://github.com/ToolJet/ToolJet/pull/1752
$ynh_npm install -g npm@7.20.0
$ynh_npm install -g npm$NPM_VERSION
ynh_exec_warn_less ynh_exec_as $app $ynh_node_load_PATH $ynh_npm install -f
ynh_exec_warn_less ynh_exec_as $app $ynh_node_load_PATH $ynh_npm run build

View file

@ -120,7 +120,7 @@ pushd $final_path
# The version shipped by default with n does not work, there is a
# wierd dependency issue about unsupported platform and fsevent.
# See https://github.com/ToolJet/ToolJet/pull/1752
$ynh_npm install -g npm@7.20.0
$ynh_npm install -g npm@$NPM_VERSION
ynh_exec_warn_less ynh_exec_as $app $ynh_node_load_PATH $ynh_npm install -f
ynh_exec_warn_less ynh_exec_as $app $ynh_node_load_PATH $ynh_npm run build