gulp-ng-annotate not working with node 0.12
Oza94 opened this issue · comments
Hello,
I encountered an issue when I updated node to 0.12 version. Here is the error when I run my gulp task:
TypeError: Cannot assign to read only property '$methodName' of false
Regarding this issue on the ng-annotate repo, this should be fixed by updating the version of ng-annotate used by gulp-ng-annotate.
What version of gulp-ng-annotate
are you using? Could you run:
npm uninstall gulp-ng-annotate
npm install gulp-ng-annotate
and try once more? The minimal version of ng-anotate
used by the latest gulp-ng-annotae
is 0.15.1 and that bug was fixed in 0.15.1.
I already did that once but npm still used the old version from my package.json. I removed the line from package.json, npm install gulp-ng-annotate
and it works fine now, thanks for the quick reply!
After doing that I still having the error
Solved here by @dnlbox:
Swiip/generator-gulp-angular#347