We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent a13285f commit 5e7cd24Copy full SHA for 5e7cd24
nodeapp/nodebb.js
@@ -4,7 +4,7 @@
4
const { exec } = require('child_process');
5
const startCmd = './nodebb start';
6
const stopCmd = './nodebb stop';
7
-const nvmCmd = 'cd ' + __dirname + ' && export NVM_DIR=/opt/nvm && . /opt/nvm/nvm.sh && nvm use && ';
+const nvmCmd = 'cd ' + __dirname + ' && export NVM_DIR=/opt/nvm && . /opt/nvm/nvm.sh && nvm use v20 && ';
8
const start = () => {
9
console.log('Starting nodebb...');
10
exec(nvmCmd + startCmd, (error, stdout, stderr) => {
0 commit comments