Issue 1:
While trying to deploy my angular 2 app using VS2015. There are two errors, at the moment of running webpack, but none errors at the moment of doing a building in vs2015

C:\Users\asus\Desktop\C# Web\Core\AngularAPI\ApiAngWebPack\WebApp> cmd /c SET NODE_ENV=development&& webpack -d --color
@@@@@@@@@ USING DEVELOPMENT @@@@@@@@@@@@@@@
clean-webpack-plugin: C:\Users\asus\Desktop\C# Web\Core\AngularAPI\ApiAngWebPack\WebApp\wwwroot\dist has been removed.
clean-webpack-plugin: C:\Users\asus\Desktop\C# Web\Core\AngularAPI\ApiAngWebPack\WebApp\wwwroot\fonts has been removed.
clean-webpack-plugin: C:\Users\asus\Desktop\C# Web\Core\AngularAPI\ApiAngWebPack\WebApp\wwwroot\assets has been removed.
Hash: ab986b13a96ef5707853
Version: webpack 2.1.0-beta.25
Time: 18114ms
Asset Size Chunks Chunk Names
assets/glyphicons-halflings-regular-f4769f.eot 20.1 kB [emitted]
assets/glyphicons-halflings-regular-f72146.svg 109 kB [emitted]
assets/glyphicons-halflings-regular-e18bbf.ttf 45.4 kB [emitted]
assets/glyphicons-halflings-regular-fa2772.woff 23.4 kB [emitted]
assets/glyphicons-halflings-regular-448c34.woff2 18 kB [emitted]
dist/app.bundle.js 8.8 MB 0 [emitted] app
index.html 426 bytes [emitted]
assets/damienbod.jpg 4.85 kB [emitted]
+ 805 hidden modules
ERROR in [default] C:\Users\asus\Desktop\C# Web\Core\AngularAPI\ApiAngWebPack\WebApp\node_modules\typescript\lib\lib.es2015.core.d.ts:17:13
Duplicate identifier 'PropertyKey'.
ERROR in [default] C:\Users\asus\Desktop\C# Web\Core\AngularAPI\ApiAngWebPack\node_modules\@types\core-js\index.d.ts:21:13
Duplicate identifier 'PropertyKey'.
Child html-webpack-plugin for "index.html":
+ 1 hidden modules
Process terminated with code 2.

This issues are not allowing to generate a new build. This is the result showed from the browser side

Uncaught Error: Module build failed: Error: EPERM: operation not permitted, open 'C:\Users\asus\Desktop\C# Web\Core\AngularAPI\ApiAngWebPack\WebApi\node_modules\webpack\buildin\global.js'
at Error (native)
at Error (native)
at eval (eval at <anonymous> (http://localhost:18678/dist/app.bundle.js:530:1), <anonymous>:1:7)
at Object.<anonymous> (http://localhost:18678/dist/app.bundle.js:530:1)
at __webpack_require__ (http://localhost:18678/dist/app.bundle.js:20:30)
at eval (eval at <anonymous> (http://localhost:18678/dist/app.bundle.js:7659:1), <anonymous>:182:44)
at Object.<anonymous> (http://localhost:18678/dist/app.bundle.js:7659:1)
at __webpack_require__ (http://localhost:18678/dist/app.bundle.js:20:30)
at Object.eval (eval at <anonymous> (http://localhost:18678/dist/app.bundle.js:4799:1), <anonymous>:1:113)
at eval (eval at <anonymous> (http://localhost:18678/dist/app.bundle.js:4799:1), <anonymous>:71:30)
at Object.<anonymous> (http://localhost:18678/dist/app.bundle.js:4799:1)
at __webpack_require__ (http://localhost:18678/dist/app.bundle.js:20:30)

Checking within the solution explorer, there is no such buildin/global folder at node_modules/webpack. I open a SO question but since it is something very specific to webpack, I will add it here too. Not sure if its a sum of errors or it is just one. I do not believe webpack creates buildings in node_modules folder @vs2015.

Edit, to add versions:

package.json

"webpack": "2.1.0-beta.27",

"webpack-dev-server": "^1.16.2"

Found some issues related with vs2015 about this, but in my case there is no problems from vs2015 side Similar SO question

Issue 2:
Bug report

What is the current behavior?

Getting following error message when setting:

splitChunks: {
cacheGroups: false // <--
}

webpack --mode development --env.node_env=development

Invalid configuration object. Webpack has been initialised using a configuration object that does not match the API schema.

configuration.optimization.splitChunks should be one of these:

false | object { chunks?, minSize?, minChunks?, maxAsyncRequests?, maxInitialRequests?, name?, filename?, automaticNameDelimiter?, cacheGroups? }

-> Optimize duplication and caching by splitting chunks by shared modules and cache group

Details:

configuration.optimization.splitChunks should be false

configuration.optimization.splitChunks.cacheGroups should be an object.

-> Assign modules to a cache group (modules from different cache groups are tried to keep in separate chunks)

error An unexpected error occurred: "Command failed.

Exit code: 1

If the current behavior is a bug, please provide the steps to reproduce.

webpack.config.js:

splitChunks: {
cacheGroups: false
}

What is the expected behavior?

The SplitChunks interface says:

cacheGroups?: false | string | ((...args: any[]) => any) | RegExp | { [key: string]: CacheGroupsOptions };

I would expect no error when setting it to false

Other relevant information:

webpack version: 4.8.3

Node.js version: v8.10.0

Operating System: Win 10

Additional tools: --