Problems to run examples in Meteor
Problems to run examples in Meteor
Fixing the problem,
meteor reset
Warning: This erases your local database.
meteor reset:
Assume that you get this error:
reset: Meteor is running. This command does not work while Meteor is running your application. Exit the running meteor development server.
Then look for meteor in your running processes:
ps -x | grep meteor
The following lines are output:
14877 pts/0 Sl 0:02 /usr/lib/meteor/mongodb/bin/mongod --bind_ip 127.0.0.1 --port 3005 --dbpath /home/sam/proto/.meteor/local/db 15022 pts/0 S+ 0:00 grep --color=auto meteor
Then enter this:
kill -s KILL 14877 meteor reset meteor
Now all are working…
This could be a alternative best solution:
It can be solved by Just removing .meteor/local/db/mongod.lock in the meteor project folder. And then meteor will run normally.