johnpapa/HotTowel-Angular

Error with ng-annotate-main.js when running "gulp build"

Opened this issue · 0 comments

I get the following error when running gulp build on Windows 7 x64

C:\Users\Developer I\Documents\Dojo\HotTowel\HT101\node_modules\gulp-ng-annotate\node_modules\ng-annotate\build\es5\ng-annotate-main.js:330
target.$methodName = method.name;
                   ^
TypeError: Cannot assign to read only property '$methodName' of false
    at matchRegular (C:\Users\Developer I\Documents\Dojo\HotTowel\HT101\node_modules\gulp-ng-annotate\node_modules\ng-annotate\build\es5\ng-annotate-main.js:330:24)
    at match (C:\Users\Developer I\Documents\Dojo\HotTowel\HT101\node_modules\gulp-ng-annotate\node_modules\ng-annotate\build\es5\ng-annotate-main.js:36:66)
...