I just installed the new version of meteor 1.4 and I'm following the Alura tutorial. Everything OK at host installation and startup: 3000 and meteor information appeared. But as soon as I create a folder called "models" and insert a file named "tasks.js" to use MongoDB it gives this error and the server does not run anymore. I inserted mongoDB in the environment Variables patch also did not work:
Your app is crashing. Here's the latest log:
C: \ Users \ thiag \ AppData \ Local.meteor \ packages \ meteor-tool \ 1.4.1_2 \ mt-os.windows.x86_32 \ dev_bundle \ server-lib \ node_modules \ fibers \ future.js: 280 throw (ex); ^
TypeError: Mongo.Collections is not a function at meteorInstall.models.tarefas.js (models / tasks.js: 1: 11) at fileEvaluate (packages / modules-runtime / .npm / package / node_modules / install / install.js: 153: 1) at require (packages / modules-runtime / .npm / package / node_modules / install / install.js: 82: 1) at: C: \ Users \ thiag \ Documents \ template \ tasklist.meteor \ local \ build \ programs \ server \ app \ app.js: 13: 1 at C: \ Users \ thiag \ Documents \ template \ tasklist.meteor \ local \ build \ programs \ server \ boot.js: 292: 10 at Array.forEach (native) at .each. .forEach (C: \ Users \ thiag \ AppData \ Local.meteor \ packages \ meteor-tool \ 1.4.1_2 \ mt-os.windows.x86_32 \ dev_bundle \ server -lib \ node_modules \ underscore \ underscore.js: 79: 11) at C: \ Users \ thiag \ Documents \ template \ tasklist.meteor \ local \ build \ programs \ server \ boot.js: 128: 5 Exited with code: 1 Your application is crashing. Waiting for file change.