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.5 which is running on
Node 6 and
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.3 but when I attempt to log in I get the dreaded
invalid csrf log error and a
Forbidden in my browser. I then tried to upgrade that to
v1.6.1 but 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 iterateeCallback (/usr/share/nodebb/myforum/node_modules/async/dist/async.js:924:17)
Is this a Node/npm issue or something else?
Any help you may provide is greatly appreciated.