Closed VikR0001 closed 8 years ago
I created a new Mantra app with CLI v0.3.9, ran all the commands in series, but failed to reproduce the error. What version of CLI and Meteor are you using? More information needed.
Interesting. The project is METEOR@1.3.1, and mantra-cli@0.3.9.
I just deleted /lib
from the app and ran mantra g collection job_specialties -s collection2
to successfully reproduce your error. The problem seems to be that there is no directory for the collection. Did you change the directory structure? Please make sure /lib/collections
exists in your app.
Makes sense. Thanks very much!
That was definitely it. I have started a new project directory for my app, built from the ground up using Mantra-CLI.
I ran these commands:
Everything went perfectly until the last command:
mantra g collection job_specialties -s collection2
That command generated the following error:
How can I correct this?
Thanks in advance for the info!