Error starting with todos example

noob here. I installed a meteorite on linux, tried to download the "todos" application, received this error. does this look like file system monitoring? Am I missing a package or perm? I installed a meteor with sudo, but I installed "todos" as my primary user.

early!

~$ mkdir meteorDev
~$ cd meteorDev/
~/meteorDev$ meteor create --example todos
todos: created.

To run your new app:
   cd todos
   meteor
~/meteorDev$ cd todos/
~/meteorDev/todos$ meteor
[[[[[ ~/meteorDev/todos ]]]]]

Running on: http://localhost:3000/

fs.js:663
    throw errnoException(errno, 'watch');
          ^
Error: watch EMFILE
    at errnoException (fs.js:636:11)
    at FSWatcher.start (fs.js:663:11)
    at Object.watch (fs.js:691:11)
    at [object Object]._scan (/usr/lib/meteor/app/meteor/run.js:322:12)
    at Array.forEach (native)
    at Function.<anonymous> (/usr/lib/meteor/app/lib/third/underscore.js:76:11)
    at new <anonymous> (/usr/lib/meteor/app/meteor/run.js:264:5)
    at /usr/lib/meteor/app/meteor/run.js:455:17
    at /usr/lib/meteor/app/meteor/run.js:512:5
    at /usr/lib/meteor/app/meteor/run.js:570:9
+5
source share
2 answers

Meteor uses the node command "fs.watch", which uses the linux inotify API. Your system may not have inotify support or is disabled. Try this to see if inotify support is enabled:

 cat /proc/sys/fs/inotify/max_user_instances

If this file exists and has a small number in it, try as root :

 echo 8192 > /proc/sys/fs/inotify/max_user_instances

, , inotify - .

max_user_instances . :

 echo fs.inotify.max_user_instances=8192 | sudo tee /etc/sysctl.d/10-inotify.conf && sudo sysctl -p
+11

MongoDB? .

mongod
0

All Articles