I’ve almost solved my ‘getting csv into a collection’ issue…but I am now getting this error:
Exception in setTimeout callback: ReferenceError: csvStore is not defined
from which I assume is from my FS.Store.GridFS named csvStore. Only think I can think of is that I’m not doing something right in my Meteor.method on my upload.js
file in my /server/methods/
folder: https://github.com/jsonify/csv_uploader.
I specifically think this part of the method might be having the issue:
fs.createReadStream(csvStore)
Any suggestions?