Skip to content
This repository was archived by the owner on Mar 14, 2019. It is now read-only.

Updated dependencies to reflect Meteor 1.4 updates (gridfs)#984

Merged
nooitaf merged 3 commits intoMeteor-Community-Packages:masterfrom
badmark:master
Feb 16, 2017
Merged

Updated dependencies to reflect Meteor 1.4 updates (gridfs)#984
nooitaf merged 3 commits intoMeteor-Community-Packages:masterfrom
badmark:master

Conversation

@badmark
Copy link
Copy Markdown
Contributor

@badmark badmark commented Jul 30, 2016

Updated dependencies for cfs:gridfs so that package can be used in Meteor 1.4.

mongodb: '2.2.4',
gridfs-stream: '1.1.1'

Corrects the issue:

=> Started proxy.

=> Started MongoDB.

I20160726-19:20:34.048(8)? { [Error: Cannot find module '../build/Release/bson'] code: 'MODULE_NOT_FOUND' }
W20160726-19:20:34.123(8)? (STDERR) js-bson: Failed to load c++ bson extension, using pure JS version
=> Started your app.

=> App running at: http://localhost:3000/

@yasaricli
Copy link
Copy Markdown

ping @aldeed please update gridfs

@nooitaf
Copy link
Copy Markdown
Contributor

nooitaf commented Feb 16, 2017

I confirm, this solves an meteor startup error/crash which is completely invisible on deploy.

@raix
Copy link
Copy Markdown

raix commented Feb 16, 2017

Let's get this one in

Copy link
Copy Markdown

@raix raix left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

@juliomac
Copy link
Copy Markdown

juliomac commented Mar 1, 2017

Is it possible to force using this new version despite other packages lists older version as dependencies?

I am trying:

meteor add cfs:gridfs@=0.0.34

but getting this:

While adding package cfs:gridfs@=0.0.34:
error: no such version cfs:gridfs@0.0.34

@diegonc
Copy link
Copy Markdown

diegonc commented Jul 13, 2017

Yes, please, make this new version of cfs:gridfs installable.
It's causing this[1] issue where you cannot upload images due to missing indices. (Which should be created by mongodb/lib/mongodb/gridfs/gridstore.js but an error is ignored silently in the ensureIndex call: { [MongoError: driver is incompatible with this server version] name: 'MongoError' })

[1] https://forums.meteor.com/t/suddenly-cant-upload-images-to-newer-digitalocean-droplets/32591/10

@juliomac
Copy link
Copy Markdown

juliomac commented Feb 1, 2019

HI, for all that could still be trying to solve this. I just went on the .meteor/versions files and changed the cfs:gridfs@0.0.33 to cfs:gridfs@0.0.34. and no more BSON issue.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

6 participants