Error at mongo_client.js
Periklis Argiriadis last edited by Periklis Argiriadis
Hello, i am trying to install on my macosx 10.9.5 the NodeBB 0.9.2 with MongoDB in order to run smoothly with the nodebb-plugin-import. The plugin needs the 0.9.2 and it is not compatible with newer versions so that's why i try to install such an old version of NodeBB. My latest attempt is with mongodb 2.4.14
I got the following error:
├── firstname.lastname@example.org (email@example.com)
├── firstname.lastname@example.org (email@example.com)
└── firstname.lastname@example.org (email@example.com)
TypeError: _.assign is not a function
at new MongoStore (/Users/perarg/NodeBB/node_modules/connect-mongo/lib/connect-mongo.js:114:19)
at nextTickCallbackWith0Args (node.js:453:9)
at process._tickCallback (node.js:382:13)
Do you have any idea how to solve this ?
nhl.pl last edited by
Why you're using MongoDB 2.4? Please use newer version >3.2.
Periklis Argiriadis last edited by
My first try was with the latest mongoDB with exactly the same issue. I thought that the 0.9.2 was quite old for the MongoDB 3.x so I tried the oldest version that I could try, that is 2.4.x ...
I am afraid something else may happens... In my office i use 10.9.5 and I am having this issue. In my home mac I use 10.7.5(quite old) and it works without any issue...
it's not mongo, i think it's this
If i manually reach into the
.../..../...../connect-mongo/package.jsonand change the lodash dependency to
However, this is NO longer an issue with NodeBB 1.x since it's not using connect-mongo 1.x
it was an issue with 0.9.2.