1
0
Fork 0
mirror of https://github.com/YunoHost-Apps/gancio_ynh.git synced 2024-09-03 20:36:19 +02:00

fix: nuxt is not a binary, use new [role] param

This commit is contained in:
lesion 2024-05-02 23:29:07 +02:00
parent db6900cda6
commit befeda20f9

View file

@ -67,8 +67,8 @@ ynh_script_progression --message="Installing app dependencies and creating admin
pushd $install_dir
ynh_use_nodejs
ynh_exec_warn_less ynh_exec_as $app $ynh_node_load_PATH yarn install # Install dependencies
ynh_exec_warn_less ynh_exec_as $app $ynh_node_load_PATH nuxt build --modern=server # Build modern dependency
ynh_exec_warn_less ynh_exec_as $app $ynh_node_load_PATH ./server/cli.js users create __ADMIN__ __PASSWORD__ --admin --config ./config.json
ynh_exec_warn_less ynh_exec_as $app $ynh_node_load_PATH yarn build
ynh_exec_warn_less ynh_exec_as $app $ynh_node_load_PATH ./server/cli.js users create __ADMIN__ __PASSWORD__ admin --config ./config.json
popd
#=================================================