diff --git a/.github/ISSUE_TEMPLATE/bug_report.md b/.github/ISSUE_TEMPLATE/bug_report.md index 614d2e5f2..2dd35f857 100644 --- a/.github/ISSUE_TEMPLATE/bug_report.md +++ b/.github/ISSUE_TEMPLATE/bug_report.md @@ -30,6 +30,7 @@ Providing the logs from the browser DevTools console (opened by pressing the F12 **Desktop (please complete the following information):** - OS/Device: [e.g. Windows 11] - Environment: [cloud, local] + - Node.js version (if applicable): [run `node --version` in cmd] - Browser [e.g. chrome, safari] - Generation API [e.g. KoboldAI, OpenAI] - Branch [main, dev] diff --git a/start.sh b/start.sh index 57c73369f..b23af07bc 100755 --- a/start.sh +++ b/start.sh @@ -10,7 +10,8 @@ then [ -s "$NVM_DIR/nvm.sh" ] && \. "$NVM_DIR/nvm.sh" curl -o- https://raw.githubusercontent.com/nvm-sh/nvm/v0.39.3/install.sh | bash source ~/.bashrc - nvm install node;; + nvm install lts + nvm use lts;; n|N ) echo "Nodejs and npm will not be installed." exit;; @@ -30,4 +31,4 @@ echo "Installing Node Modules..." npm i echo "Entering SillyTavern..." -node server.js +node "$(dirname "$0")/server.js" \ No newline at end of file