1
0
Fork 0
mirror of https://github.com/YunoHost-Apps/bonfire_ynh.git synced 2024-09-03 18:16:01 +02:00

comment debug

This commit is contained in:
lapineige 2024-01-20 15:51:44 +01:00 committed by GitHub
parent 4abcaa9d5b
commit 6813b5ac36
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -72,8 +72,8 @@ export TERM=linux # why is that not defined ?
export TERMINFO=/etc/terminfo export TERMINFO=/etc/terminfo
### DONT USE GLOBAL NPM INSTALL ### DONT USE GLOBAL NPM INSTALL
ynh_replace_string --match_string="npm install --global" --replace_string="npm install" --target_file="$install_dir/justfile" ynh_replace_string --match_string="npm install --global" --replace_string="npm install" --target_file="$install_dir/justfile"
ynh_replace_string --match_string="npx" --replace_string="$ynh_npm exec --" --target_file="$install_dir/justfile" #ynh_replace_string --match_string="npx" --replace_string="$ynh_npm exec --" --target_file="$install_dir/justfile"
ynh_exec_warn ynh_exec_as $app $ynh_node_load_PATH -s $SHELL -lc "cat $install_dir/justfile" #ynh_exec_warn ynh_exec_as $app $ynh_node_load_PATH -s $SHELL -lc "cat $install_dir/justfile"
ynh_exec_warn_less ynh_exec_as $app $ynh_node_load_PATH -s $SHELL -lc "WITH_DOCKER=no just rel-build" ynh_exec_warn_less ynh_exec_as $app $ynh_node_load_PATH -s $SHELL -lc "WITH_DOCKER=no just rel-build"
#ynh_exec_warn_less just rel-build # node needs (root) access to /usr/local/lib/node_modules #ynh_exec_warn_less just rel-build # node needs (root) access to /usr/local/lib/node_modules