@maciejso Anyone with a solution to this?! Wth!?
Mapping of Node and NPM to NodeBB Versions
I am running a very old version of NodeBB and am struggling to get it upgraded to the current version. Part of my difficulty is that I am working on bringing up the forum on a new server (production server is Debian 8, new server is Debian 9).
I am bringing over my current running NodeBB
v1.4.5which is running on
Could some one map out the versions of NodeBB with the appropriate version of Node.js and NPM I should be using?
Ie., NodeBB < 1.x = Node version A, npm version B
NodeBB > 1.x < 1.y = Node version D, npm version E
I was able to upgrade from NodeBB
v1.5.3but when I attempt to log in I get the dreaded
invalid csrflog error and a
Forbiddenin my browser. I then tried to upgrade that to
v1.6.1but during the upgrade end up with this on my console:
10/4 21:24:57  - info: [build] sounds build started 10/4 21:25:00  - error: [build] client js bundle build failed 10/4 21:25:00  - error: [build] Encountered error during build step: Invalid assignment 10/4 21:25:00  - error: SyntaxError: Invalid assignment at JS_Parse_Error.get (eval at <anonymous> (/usr/share/nodebb/myforum/node_modules/uglify-js/tools/node.js:20:1), <anonymous>:71:23) at /usr/share/nodebb/myforum/app.js:235:21 at /usr/share/nodebb/myforum/node_modules/async/dist/async.js:3861:9 at /usr/share/nodebb/myforum/node_modules/async/dist/async.js:421:16 at iterateeCallback (/usr/share/nodebb/myforum/node_modules/async/dist/async.js:924:17) at /usr/share/nodebb/myforum/node_modules/async/dist/async.js:906:16 at /usr/share/nodebb/myforum/node_modules/async/dist/async.js:3858:13 at /usr/share/nodebb/myforum/src/meta/build.js:207:11 at /usr/share/nodebb/myforum/node_modules/async/dist/async.js:3861:9 at /usr/share/nodebb/myforum/node_modules/async/dist/async.js:421:16 Error: undefined
Is this a Node/npm issue or something else?
Any help you may provide is greatly appreciated.
I have had a small amount of success.
I was able to copy over my production forum (
v1.4.5) to my new dev server which has node
6running on it.
Without attempting to start my
v1.4.5forum on the server I upgraded to NodeBB
v1.10.2and this works.
@rod I was going to recommend essentially that. You should be able to jump straight to 1.12
The custom JS stuff is likely due to needing some load event listeners.
The .travis.yml for each branch should be a good indicator of compatibility in general.