Meteor-CollectionFS icon indicating copy to clipboard operation
Meteor-CollectionFS copied to clipboard

Fix gridFS compatibility with Meteor 1.6

Open Herteby opened this issue 8 years ago • 3 comments
trafficstars

Update mongodb to 2.2.33

Herteby avatar Nov 06 '17 10:11 Herteby

After 1.6, my Meteor build started failing with { Error: Cannot find module '../build/Release/bson'

When I googled the error I found this comment by @badmark : https://github.com/meteor/meteor/issues/7477#issuecomment-235695897 So I figured that it was the same thing again, and the mongodb dependency had to be updated to the same version that Meteor 1.6 uses. That fix solved the problem for me.

Herteby avatar Nov 06 '17 10:11 Herteby

Hi,

I have followed these instructions and this has resolved my issue with the error ({ Error: Cannot find module '../build/Release/bson') but now my upload function has broken.

When I attempt to upload I get the error...

The provided value 'undefined' is not a valid enum value of type XMLHttpRequestResponseType. httpCall @ cfs_upload-http.js?hash=de2b2d82cc6e3296c9e82723ace0812df1773294:140

I really need this to work as I have many sites using these packages with documents uploaded already and I don't want these to stop working.

Any help would be much appreciated. If you need any further information please let me know.

Thanks, Matt.

mattgibson81 avatar Dec 09 '17 12:12 mattgibson81

Hi @Herteby try to pull the latest changes from master and Travis issue'll be gone this time leaving only the package.js conflict which I hope you can address in a timely manner, thanks!

harryadel avatar Jan 07 '19 23:01 harryadel