Do you want to request a feature or report a bug?
Bug
What is the current behavior?
Just installed the latest v2.6.0 release and am now getting the error Can't resolve 'loglevel' in webpack-dev-server/client
If the current behavior is a bug, please provide the steps to reproduce.
The dev server config bit:
{
port: 3000,
host: 0.0.0.0,
quiet: false,
hot: true,
contentBase: path.resolve(__dirname, 'src'),
historyApiFallback: true,
disableHostCheck: true,
stats: {
hash: false,
colors: true,
cached: false,
version: false
}
}
Please mention your webpack and Operating System version.
webpack v3.3.0, OSX 10.13 (High Sierra beta 3)
Duplicated of #984
A workaround to solve it is installing loglevel.
npm i -D loglevel
This dependencie should be in package.json dependencies, but in 2.6.0, it's in devDependencies.
We can downgrade version or use npm i -D loglevel to install the dependencie.
Sorry everyone, fixed in [email protected]
Most helpful comment
Sorry everyone, fixed in [email protected]