Build from core gets a too great version of Angular Dynamic Locale
Hi,
I was trying to build the core Umbraco during the Umbraco UK Festival Hackathon and found that I was getting the following error in the backoffice (which was blocking backoffice functionality).
tmhDynamicLocale.js:152 Uncaught TypeError: e.$applyAsync is not a function(…)
angular.min.js?cdv=1:63 TypeError: Cannot read property 'offsetTop' of undefined
Turns out that NPM / Bower / Grunt (* delete as correct - no idea!) was using a newer version of Angular Dynamic Locale (0.1.32) rather than the max version of 0.1.27
Not sure why - tried all sorts of batch rebuilds, and there seems to be a clear cache called before the packages are built
Sebastiaan seems to have set this in the src/Umbraco.Web.UI.Client/bower.json file as per:
Build from core gets a too great version of Angular Dynamic Locale
Hi,
I was trying to build the core Umbraco during the Umbraco UK Festival Hackathon and found that I was getting the following error in the backoffice (which was blocking backoffice functionality).
tmhDynamicLocale.js:152 Uncaught TypeError: e.$applyAsync is not a function(…) angular.min.js?cdv=1:63 TypeError: Cannot read property 'offsetTop' of undefined
Turns out that NPM / Bower / Grunt (* delete as correct - no idea!) was using a newer version of Angular Dynamic Locale (0.1.32) rather than the max version of 0.1.27
Not sure why - tried all sorts of batch rebuilds, and there seems to be a clear cache called before the packages are built
Sebastiaan seems to have set this in the src/Umbraco.Web.UI.Client/bower.json file as per:
https://github.com/lgalfaso/angular-dynamic-locale/issues/82 https://github.com/umbraco/Umbraco-CMS/commit/7a4b7c25ddbe8b327d178db3687bc32c7086b97a
But for some reason it's not working.
Anyone know why?
I fixed these errors by copying over from a downloaded zip of the source the Umbraco/lib/ folder over
Umbraco-CMS\src\Umbraco.Web.UI\Umbraco\lib
Node.js was hideously out of date on my machine and causing the issue.
Got the latest LTS version from:
https://nodejs.org/en/download/
Re-ran the build.bat and then all was good. (5 hours later).
Steve
is working on a reply...