Skip to content

(ngAnnotate) task Warning: Cannot assign to read only property '$methodName' of false #130

@bdairy

Description

@bdairy

Hello.,, I am new to the hole yeomen thing ,, so that might look silly.
I've installed the generator as per the steps ..but when grunt build I recieve this issue:
Running "ngAnnotate:main" (ngAnnotate) task
Warning: Cannot assign to read only property '$methodName' of false Use --force to continue.

Aborted due to warnings.

Below you can see the whole log for the build,, also please notice that the sub generators are working just fine,, and other generators are installed and working perfectly on my machine... I have updated the ngAnnotate plugin,, but nothing happed... btw the serve and test tasks fails as well..

Running "jshint:main" (jshint) task

3 files lint free.

Running "clean:before" (clean) task

Running "less:production" (less) task
File temp/app.css created.

Running "dom_munger:read" (dom_munger) task

Processing index.html
Wrote script[data-concat!="false"].src to dom_munger.data.appjs
Wrote link[rel="stylesheet"][data-concat!="false"].href to dom_munger.data.appcss

Running "dom_munger:update" (dom_munger) task

Processing index.html
Removed script[data-remove!="false"]
Removed link[data-remove!="false"]
Appended to body
Appended to head
File dist/index.html created/updated.

Running "ngtemplates:main" (ngtemplates) task

No templates found
File temp/templates.js created.

Running "cssmin:main" (cssmin) task
File dist/app.full.min.css created.

Running "concat:main" (concat) task
File "temp/app.full.js" created.

Running "ngAnnotate:main" (ngAnnotate) task
Warning: Cannot assign to read only property '$methodName' of false Use --force to continue.

Aborted due to warnings.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions