dgeni-alive
dgeni-alive copied to clipboard
Mismatched angular dependencies 1.6.x
Similar to Issue #17
Pull request : https://github.com/wingedfox/dgeni-alive/pull/20/files may solve this problem.
Running the generated docs is throwing below error
Uncaught Error: [$injector:unpr] Unknown provider: $$MapProvider in ngAnimate
module
Looks like ngAnimate is expecting angular 1.6.x but installed version is 1.5.x.
Since ngAnimate is getting installed via ngMaterialize, is there something wrong in bower dependency of ngMaterialize.
Therefore please add "angular-animate": "1.5.x" explicitly in bower.json to avoid any version mismatch.
node_modules > dgeni-alive > src > packages > website > templates > website > bower.json
I had to work around this by creating a project copy of 'website' and changing its bower.json file.