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

Appease npm warning

This commit is contained in:
tituspijean 2023-09-16 14:19:00 +02:00
parent 1c9203a5a8
commit 2d772365d2
No known key found for this signature in database
GPG key ID: EF3B0D7CC0A94720
2 changed files with 2 additions and 2 deletions

View file

@ -49,7 +49,7 @@ pushd $install_dir
# The version shipped by default with n does not work, there is a # The version shipped by default with n does not work, there is a
# weird dependency issue about unsupported platform and fsevent. # weird dependency issue about unsupported platform and fsevent.
# See https://github.com/ToolJet/ToolJet/pull/1752 # See https://github.com/ToolJet/ToolJet/pull/1752
$ynh_npm install -g npm@"$NPM_VERSION" $ynh_npm install npm@"$NPM_VERSION" --location=global
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 install -f
ynh_exec_warn_less ynh_exec_as $app $ynh_node_load_PATH $ynh_npm run build ynh_exec_warn_less ynh_exec_as $app $ynh_node_load_PATH $ynh_npm run build

View file

@ -70,7 +70,7 @@ pushd $install_dir
# The version shipped by default with n does not work, there is a # The version shipped by default with n does not work, there is a
# wierd dependency issue about unsupported platform and fsevent. # wierd dependency issue about unsupported platform and fsevent.
# See https://github.com/ToolJet/ToolJet/pull/1752 # See https://github.com/ToolJet/ToolJet/pull/1752
$ynh_npm install -g npm@"$NPM_VERSION" $ynh_npm install npm@"$NPM_VERSION" --location=global
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 install -f
ynh_exec_warn_less ynh_exec_as $app $ynh_node_load_PATH $ynh_npm run build ynh_exec_warn_less ynh_exec_as $app $ynh_node_load_PATH $ynh_npm run build