Run: You're not in a Meteor project directory

Hi experts,
I don’t know why I got “run: You’re not in a Meteor project directory” message.
I’, in meteor app location and run meteor run but faced that message.
I’m wondering if anyone can help me.

Thanks

Are you 100% sure that there is a (hidden) .meteor directory inside of this directory?! if not - wrong dir or try “meteor install” first :wink:

thanks,
you mentioned the exactly issue, but not as your mind :slight_smile:
this is a big story, I git the project and .meteor isn’t include in git. suddenly my project removed from hard and I clone from git but as you mentioned, there is ‘.meteor’ folder.
OK!
in this situation, how can I solve my issue?

Thanks

If you have any backups of your “packages” file (inside the .meteor dir), you can just do meteor create xyz outside of your dir, then copy all of your code into the xyz dir, open the packages file, paste your package definitions, do meteor install and off you go! Something like that! :wink:

if there are no backups you have to create a new meteor project, copy your code and add your need packages one by one via meteor add ....

1 Like