Meteor 1.4.1.1 and metoerhacks:aggregate

I need to have access to the aggregate functionality of Mongo and decided to add this package. However I get the following errors when I try to add it to my project:

C:\Users\xxx\AppData\Local\.meteor\packages\meteor-tool\1.4.1_1\mt-os.windows.x86_32\dev_bundle\lib\node_modules\meteor-promise\promise_server.js:165
      throw error;
      ^

Error: ENOENT: no such file or directory, open 'C:\Users\xxx\AppData\Local\Temp\mt-d2ij10\os\packages\meteorhacks_collection-utils.js'
    at Error (native)

npm ERR! Windows_NT 10.0.14393
npm ERR! argv "C:\\Program Files\\nodejs\\node.exe" "C:\\Users\\xxx\\AppData\\Roaming\\npm\\node_modules\\npm\\bin\\npm-cli.js" "start"
npm ERR! node v4.5.0
npm ERR! npm  v3.9.1
npm ERR! code ELIFECYCLE

As you can likely guess this is Windows 10 system 64bit. Ideas how to get past this or even how to start tracking down what is happening. Thanks!

I recommend rather to use : MyCollection.rawCollection().aggregate() more info meteor docs

1 Like

Just note that this function is asynchronous, so you will need to deal with callbacks.