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:
parent
8739cce79f
commit
03b1c53c18
1 changed files with 2 additions and 0 deletions
|
@ -80,6 +80,8 @@ ynh_exec_warn cat $install_dir/.env
|
||||||
ynh_script_progression --message="Building Bonfire release..." --weight=1
|
ynh_script_progression --message="Building Bonfire release..." --weight=1
|
||||||
export TERM=linux # why is that not defined ?
|
export TERM=linux # why is that not defined ?
|
||||||
export TERMINFO=/etc/terminfo
|
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 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
|
#ynh_exec_warn just rel-build # node needs (root) access to /usr/local/lib/node_modules
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue