Closed pajooh closed 9 years ago
Appears to be a problem with the version 2.0.x node momgoDB driver that file-collection uses internally. Beyond that observation, there's not much more I can say or do.
Can you please provide precise steps to reproduce this error? Complete with source code for a simple Meteor app that causes this error "when building and use node as server".
The error occurs in Debian wheezy, but not in Ubuntu trusty! very confusing!!!
It's almostly certainly an issue with the mongodb 2.0 node.js driver on that platform.
Try:
mkdir mongotest
cd mongotest
npm install mongodb
cd node_modules/mongodb
npm test
@pajooh Sorry I gave you the wrong instructions for testing the mongodb driver...
Try this:
git clone https://github.com/mongodb/node-mongodb-native.git mongotest
cd mongotest
git checkout V2.0.27
npm install
npm test
For the tests to work, you need to have a MongoDB server running on localhost:27017
Most npm packages can be tested the way I described above, but mongodb is different, sorry for any confusion.
@vsivsi for a quick workaround, what can i do? should i have to downgrade file-collection version?
Have other versions of file-collection worked on Wheezy? When did it stop working?
sorry, the error does not appeared in v1.0.5, i was using v0.3.5. my mistake the combination of file-collection v0.3.5 + mongo 3 raises the error i'm closing this issue
Okay, glad you were able to resolve this!
in development server with meteor, everything is fine, when building and use node as server, this error appears:
i'm using node v0.10.38, meteor v1.1.0.2, and file-collection v1.0.5