linnovate / mean-admin

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

mean install mean-admin doesn't install bower dependencies #20

Open graywithanA opened 10 years ago

graywithanA commented 10 years ago

After running "mean install mean-admin" my app would not load. My console gave the following error:

Uncaught Error: [$injector:modulerr] Failed to instantiate module mean due to: Error: [$injector:modulerr] Failed to instantiate module mean.mean-admin due to: Error: [$injector:modulerr] Failed to instantiate module ngClipboard due to: Error: [$injector:nomod] Module 'ngClipboard' is not available! You either misspelled the module name or forgot to load it. If registering a module ensure that you specify the dependencies as the second argument.

Turns out the bower dependencies were never installed. Running bower install from within the mean-admin folder solved the issue and everything now seems to work fine.

jasonruyle commented 10 years ago

I didn't get those errors, but I can tell you running mean install mean-admin didn't work for me until I ran the bower install as well. Thanks for the hint.

broderix commented 9 years ago

Bug still exists. I think it conflicted with packages/core/admin, because when I deleted it all worked ok

lexfernandez commented 9 years ago

As @broderix said the problem with mean-admin is that you cannot have the packages/core/admin module at the same time, I deleted it and everything work correctly. Thanks @broderix , I appreciate it.

jwebbdev commented 9 years ago

/packages/core/admin of the default mean install -is- mean-admin, a newer version. If you're running on any recent install of mean you'll only run into trouble trying to install the package.

lexfernandez commented 9 years ago

Great @rjVapes I didn't know that, Thanks.