Skip to content

Fatal error when running store coverage task #23

@thgil

Description

@thgil

When trying to run a coverage task on some code I get this error:

Running "storeCoverage" task
Fatal error: Cannot assign to read only property 'prepareStackTrace' of function Error() { [native code] }

This error happens at this line in storeCoverage()
https://github.com/taichi/grunt-istanbul/blob/master/tasks/helpers.js#L120

fs.writeFile(json, JSON.stringify(cov), 'utf8', this.async(as(1)));

The error seems to be coming from the nue library at
https://github.com/nakamura-to/nue/blob/master/lib/nue.js#L171

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