linnovate / mean-admin

Admin menu and features packages for mean
30 stars 19 forks source link

invalid mean app or not in app root #7

Closed paidon closed 10 years ago

paidon commented 10 years ago

After installing mean-admin (successfully, I think), when I try to mean user myemail -a admin results in: "Adding role admin to user david.pohlmann@gmail.com Invalid MEAN app or not in app root"

Any ideas?

fyockm commented 10 years ago

@paidon what directory were you in when you executed mean user <email> -a admin? you must be in the root directory of your mean app.

paidon commented 10 years ago

Hey, ive been within the right directory. Installing it worked.. Anything elsr I have to do other than installing mean-admin?

ghost commented 10 years ago

I experience the same problem when located in the root directory. Adding roleadminto user ....' Invalid MEAN app or not in app root

ellman commented 10 years ago

hi @paidon @graphmeter try updating your version of mean-cli sudo npm install -g meanio@latest The latest cli 0.5.5 came out yesterday and deals with something that looks similar to this issue

ghost commented 10 years ago

@ellman Thanks, the latest cli solved this issue.

ellman commented 10 years ago

awesome. happy coding!