wingedfox / dgeni-alive

Live docs on top of dgeni documentation generator
MIT License
26 stars 14 forks source link

Mismatched angular dependencies 1.6.x #21

Open amiteshhh opened 7 years ago

amiteshhh commented 7 years ago

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

scottux commented 7 years ago

I had to work around this by creating a project copy of 'website' and changing its bower.json file.