Cannot assign to read only property ‘$methodName’ of false Use –force to continue

One receives this error with Grunt, AngularJS if the grunt-ng-annotate is out of date.

Open your project.js and remove the grunt-ng-annotate, most of the time it is an old edition like 0.4.0. save an push to your server if you are remote.

Then on the server reinstall your grunt-ng-annotate