Dear, I have an error that I can not solve and I do not know where it is because I do not have any error as a reference.
I am new with Meteor, I am developing a simple "Hello Word" start application, but I can not show the data in the application.
The connection with mongo is established perfect, the only strange thing is these warning:
Server has startup warnings:
2018-06-23T17:25:21.123-0300 I CONTROL [initandlisten]
2018-06-23T17:25:21.123-0300 I CONTROL [initandlisten] ** WARNING: This 32-bit MongoDB binary is deprecated
2018-06-23T17:25:21.123-0300 I CONTROL [initandlisten] ** NOTE: This is a 32-bit MongoDB binary running on a 64-bit operating
2018-06-23T17:25:21.123-0300 I CONTROL [initandlisten] ** system. Switch to a 64-bit build of MongoDB to
2018-06-23T17:25:21.123-0300 I CONTROL [initandlisten] ** support larger databases.
2018-06-23T17:25:21.123-0300 I CONTROL [initandlisten]
2018-06-23T17:25:21.123-0300 I CONTROL [initandlisten]
2018-06-23T17:25:21.123-0300 I CONTROL [initandlisten] ** NOTE: This is a 32 bit MongoDB binary.
2018-06-23T17:25:21.123-0300 I CONTROL [initandlisten] ** 32 bit builds are limited to less than 2GB of data (or less with --journal).
2018-06-23T17:25:21.123-0300 I CONTROL [initandlisten] ** Note that journaling defaults to off for 32 bit and is currently off.
2018-06-23T17:25:21.123-0300 I CONTROL [initandlisten] ** See http://dochub.mongodb.org/core/32bit
2018-06-23T17:25:21.123-0300 I CONTROL [initandlisten]
2018-06-23T17:25:21.746-0300 I REPL [ReplicationExecutor]
2018-06-23T17:25:21.746-0300 I REPL [ReplicationExecutor] ** WARNING: This replica set is running without journaling enabled but the
2018-06-23T17:25:21.746-0300 I REPL [ReplicationExecutor] ** writeConcernMajorityJournalDefault option to the replica set config
2018-06-23T17:25:21.746-0300 I REPL [ReplicationExecutor] ** is set to true. The writeConcernMajorityJournalDefault
2018-06-23T17:25:21.746-0300 I REPL [ReplicationExecutor] ** option to the replica set config must be set to false
2018-06-23T17:25:21.746-0300 I REPL [ReplicationExecutor] ** or w:majority write concerns will never complete.
2018-06-23T17:25:21.746-0300 I REPL [ReplicationExecutor]
Queries to the database from cmd in windows 10 run well, I see that I have data in the database, but I can not see them in the application executtandoce.
main.html
<head>
<title>Note manager desing dattapet</title>
</head>
<body>
<div class="container">
<h1>Welcome to Meteor!</h1>
<ul class="collection">
{{#each notes}}
{{> note}}
{{/each}}
</ul>
</div>
</body>
<template name="note">
<li class="collections-items">{{text}}</li>
</template>
main.js
import { Template } from 'meteor/templating';
import { ReactiveVar } from 'meteor/reactive-var';
import { Notes } from '../lib/collection.js';
import './main.html';
//import { Notes } from '../.meteor/lib/collection';
Template.body.helpers({
/*notes :[
{text:"My note 1"},
{text:"My note 2"},
{text:"My note 3"}
]*/
notes()
{
return Notes.find({});
}
});
collections.js
import { Mongo } from 'meteor/mongo';
export const Notes = new Mongo.Collection('notes');