mirror of
https://github.com/YunoHost-Apps/bonfire_ynh.git
synced 2024-09-03 18:16:01 +02:00
install npx
This commit is contained in:
parent
7051d77d0f
commit
72b5322854
1 changed files with 1 additions and 0 deletions
|
@ -72,6 +72,7 @@ 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_less ynh_exec_as $app -s $SHELL -lc "WITH_DOCKER=no NODE_ENV=production $ynh_npm install npx"
|
||||
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
|
||||
|
||||
|
|
Loading…
Reference in a new issue