{"id":2360,"date":"2020-03-03T11:43:36","date_gmt":"2020-03-03T11:43:36","guid":{"rendered":"http:\/\/salientsoft.co.uk\/?p=2360"},"modified":"2020-03-03T11:44:34","modified_gmt":"2020-03-03T11:44:34","slug":"build-fails-with-progress-plugin-invalid-options","status":"publish","type":"post","link":"https:\/\/salientsoft.co.uk\/?p=2360","title":{"rendered":"Angular build fails with &#8220;Progress Plugin Invalid Options&#8221;"},"content":{"rendered":"<p>When upgrading an angular 4 project (places-admin) to angular 6, I got the above error when building.<\/p>\n<p>The problem and solution are detailed <strong><a href=\"https:\/\/github.com\/angular\/angular-cli\/issues\/12866\">here<\/a><\/strong>.<\/p>\n<p>The issue appears to be caused by webpack 4.25.* breaking compatibility with the plugin.<\/p>\n<p>Applying\u00a0<a href=\"https:\/\/github.com\/angular\/angular-cli\/issues\/12866#issuecomment-435850702\">the fix <\/a>in the above post solved the problem, by adding<\/p>\n<blockquote><p>&#8220;webpack&#8221;: &#8220;4.24.0&#8221;<\/p><\/blockquote>\n<p>to the <em>devDependencies<\/em> section in <em>package.json<\/em><\/p>\n<p>&nbsp;<\/p>\n","protected":false},"excerpt":{"rendered":"<p>When upgrading an angular 4 project (places-admin) to angular 6, I got the above error when building. The problem and solution are detailed here. The issue appears to be caused by webpack 4.25.* breaking compatibility with the plugin. Applying\u00a0the fix in the above post solved the problem, by adding &#8220;webpack&#8221;: &#8220;4.24.0&#8221; to the devDependencies section [&hellip;]<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"closed","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":[],"categories":[198,77,223],"tags":[],"_links":{"self":[{"href":"https:\/\/salientsoft.co.uk\/index.php?rest_route=\/wp\/v2\/posts\/2360"}],"collection":[{"href":"https:\/\/salientsoft.co.uk\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/salientsoft.co.uk\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/salientsoft.co.uk\/index.php?rest_route=\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/salientsoft.co.uk\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=2360"}],"version-history":[{"count":2,"href":"https:\/\/salientsoft.co.uk\/index.php?rest_route=\/wp\/v2\/posts\/2360\/revisions"}],"predecessor-version":[{"id":2362,"href":"https:\/\/salientsoft.co.uk\/index.php?rest_route=\/wp\/v2\/posts\/2360\/revisions\/2362"}],"wp:attachment":[{"href":"https:\/\/salientsoft.co.uk\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=2360"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/salientsoft.co.uk\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=2360"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/salientsoft.co.uk\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=2360"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}