NoveltySA
NoveltySA

Reputation: 86

Broke Meteor by creating a collections 'accounts'

I accidentally created a collection accounts ... yes I know I wasn't thinking; it was really dumb of me. But now my Meteor installation is broken completely. for code like Accounts.createUser server hangs and returns error 'method createUser undefined.' OS is windows10

I have tried uninstalling and re-installing Meteor, removed and re-added accounts-.. nothing works. and of course the collection is no long 'accounts' Please help if you might have an idea how to resolve this..

Upvotes: 1

Views: 32

Answers (1)

FloatingCoder
FloatingCoder

Reputation: 1724

  1. Remove all your accounts collection code (assume you have done that already)
  2. Stop your server
  3. Run meteor reset (from the command line in your project directory where you run meteor)
  4. Restart your server

That should do it.

Upvotes: 2

Related Questions