To avoid this kind of issue:
WARNING in react
Multiple versions of react found:
16.6.1 ./~/@feedzai/brushable-histogram/~/react
16.8.6 ./~/react
React must be a peerDependency locked in the major release (16.x).
An alternative is to use react as an alias in the webpack config.
{
resolve: {
...
alias: {
"react": path.resolve(__dirname, "node_modules/react")
}
...
}
}