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

no npm global install

This commit is contained in:
lapineige 2023-08-13 13:05:57 +02:00 committed by GitHub
parent 8739cce79f
commit 03b1c53c18
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -80,6 +80,8 @@ ynh_exec_warn cat $install_dir/.env
ynh_script_progression --message="Building Bonfire release..." --weight=1
export TERM=linux # why is that not defined ?
export TERMINFO=/etc/terminfo
### DONT USE GLOBAL NPM INSTALL
ynh_replace_string --match_string="npm install --global" --replace_string="npm install" --target_file="$install_dir/justfile"
ynh_exec_warn ynh_exec_as $app $ynh_node_load_PATH -s $SHELL -lc "WITH_DOCKER=no just rel-build"
#ynh_exec_warn just rel-build # node needs (root) access to /usr/local/lib/node_modules