This repository was archived by the owner on Mar 26, 2018. It is now read-only.
This repository was archived by the owner on Mar 26, 2018. It is now read-only.
grunt serve:dist generates Failed to instantiate module #1344
Open
Description
When I create a fresh new project with "yo angular" and all the default options, "grunt serve" works perfectly. But when I try to serve the dist version with "grunt serve:dist", I get this error in the browser console:
Uncaught Error: [$injector:modulerr] Failed to instantiate module yoTestApp due to:
Error: [$injector:modulerr] Failed to instantiate module ngAnimate due to:
Error: [$injector:nomod] Module 'ngAnimate' 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.
I've look inside vendor.js and ng-animate is there.
Thanks in advance for the help.
Metadata
Metadata
Assignees
Labels
No labels