The simplest Meteor example ("todos") does not work properly on my windows 7 - no reactivity

I have been using meteorjs for quite some time on linux. But when I installed using a relatively new Windows installer, I saw that the simplest example does not work correctly on my computer - win7.

Example: https://www.meteor.com/try/4 which works fine on my ububtu, but in my windows - I see that no information is added to db, and all the changes that I make (add new "tasks ") are only local to this page, and other open tabs were also local, and there was no" reactivity "(no information was shared between different pages).

I tried to eliminate it in some way:

  • I made sure MONGO_URL was not set, and then I set MONGO_URL in another db and saw that although this db reported “connection accepted”, oplog and the updated collection (tasks) have any new information.

  • Tried different types of browsers (chrome, firefox). Both are latest in version.

  • There are no errors in the Chrome console.

I assume that all entries are made in minimongo, which does not transmit them.

Is this a known problem? Any suggestions?

+6
source share
2 answers

A few things you can try:

  • remove the meteor and any single instance of mongo (including cmd aliases). Download a new copy and install. Create a new project in a new folder. If the database had some kind of strange lock, this must be fixed.
  • download robomongo (or use meteor mongo ) to insert a new document and see if it gets up. If so, you know that mongo is not a problem.
  • Make sure autopublish and insecure installed. If they are, when you finish step 2, you will see a new document in the application. If you do this, then the database can contact the application, so the problem should be keeping the client side in the database. Try the meteor method instead of direct insert . If you do not see a new document, the data from the database cannot reach your client, which means that your firewall (yes, it can also spoil requests from the local host) is to blame. Turn it off, make sure that ports 3000 and 3001 (mongo) are allowed for full access and that it does nothing wrong with websockets.
+4
source

I would try reinstalling Visual Studio 2012 and Python 2.6 / 2.7, and then installing Node again and then Meteor.

0
source

Source: https://habr.com/ru/post/987095/


All Articles