Skip to content

Not working for Webpack 5 #95

@john-jay

Description

@john-jay

My build seems to complete (progress 100%), but then it fails processing the stats. It works on my PC but not on Azure DevOps. I am using webpack 5.32.0,

##[error]TypeError: stats.jsonToString is not a function
##[debug]Processed: ##vso[task.issue type=error;]TypeError: stats.jsonToString is not a function
TypeError: stats.jsonToString is not a function
at Object.compile (D:\VSOAGENT1_work_tasks\webpack_6752a610-c2f3-11e6-949e-5d3841f133f1\4.2.0\webpackCompiler\WebpackCompiler.js:60:23)
at D:\VSOAGENT1_work_tasks\webpack_6752a610-c2f3-11e6-949e-5d3841f133f1\4.2.0\index.js:43:46
at next (native)
at D:\VSOAGENT1_work_tasks\webpack_6752a610-c2f3-11e6-949e-5d3841f133f1\4.2.0\index.js:7:71
at __awaiter (D:\VSOAGENT1_work_tasks\webpack_6752a610-c2f3-11e6-949e-5d3841f133f1\4.2.0\index.js:3:12)
at run (D:\VSOAGENT1_work_tasks\webpack_6752a610-c2f3-11e6-949e-5d3841f133f1\4.2.0\index.js:15:12)
at Object. (D:\VSOAGENT1_work_tasks\webpack_6752a610-c2f3-11e6-949e-5d3841f133f1\4.2.0\index.js:53:1)

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions