When using a single MongoDB with meteor meteor reset has stopped working

I set my MONGO_URL for mongodb: // localhost: 27017 / meteor and run MongoDB as a service.

When you run my project seems right to store data in a single MongoDB, until I try to run the meteor reset.

My guess is that he was trying to remove a default database. The error complained that myproject.meteor \ local is not empty and points to fs.js: 456, which goes to files.js: 256 (rm_recursive), etc.

any idea what and how can i fix this?

+4
source share
1 answer

$ meteor reset only resets the associated MongoDB. It will not reset the external database Mongo database.

(Something we need to better explain the documentation.)

In your case, try to connect directly to a database Mongo (with the shell command line mongo ) and run > db.dropDatabase()

+5
source

All Articles