diff --git a/scripts/_common.sh b/scripts/_common.sh index 7912aa4..9195d57 100755 --- a/scripts/_common.sh +++ b/scripts/_common.sh @@ -4,7 +4,7 @@ # COMMON VARIABLES #================================================= -nodejs_version=14 +nodejs_version=18 #================================================= # PERSONAL HELPERS diff --git a/scripts/install b/scripts/install index 74f22eb..154c2c2 100755 --- a/scripts/install +++ b/scripts/install @@ -99,7 +99,7 @@ ynh_script_progression --message="Configuring TiddlyWiki..." --weight=2 pushd $final_path ynh_use_nodejs - ynh_exec_as $app env $ynh_node_load_PATH $ynh_npm install -g tiddlywiki + ynh_exec_as $app env $ynh_node_load_PATH $ynh_npm install tiddlywiki ynh_exec_as $app env $ynh_node_load_PATH tiddlywiki mynewwiki --init server popd